ICorDebugStringValue::GetString 方法

获取此 ICorDebugStringValue 引用的字符串。

HRESULT GetString (
    [in] ULONG32    cchString,
    [out] ULONG32   *pcchString,
    [out, size_is(cchString), length_is(*pcchString)] 
        WCHAR       szString[]
);

参数

  • cchString
    [in] szString 数组的大小。

  • pcchString
    [out] 一个指针,该指针指向 szString 数组中返回的字符数。

  • szString
    [out] 一个存储检索到的字符串的数组。

要求

**平台:**请参见 .NET Framework 系统要求

头文件: CorDebug.idl、CorDebug.h

**库:**CorGuids.lib

**.NET Framework 版本:**4、3.5 SP1、3.5、3.0 SP1、3.0、2.0 SP1、2.0、1.1、1.0

请参见

参考

ICorDebugStringValue 接口