共用方式為


ICorDebugStringValue::GetString 方法

更新:2007 年 11 月

取得這個 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

**程式庫:**CorGuids.lib

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

請參閱

參考

ICorDebugStringValue