共用方式為


ICorDebugStringValue::GetLength 方法

更新:2007 年 11 月

取得此 ICorDebugStringValue 所參考之字串的字元數。

HRESULT GetLength (
    [out] ULONG32   *pcchString
);

參數

  • pcchString
    [out] 指定此 ICorDebugStringValue 物件所參考之字串長度的值指標。

需求

**平台:**請參閱 .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