取得指定全域變數的值。
語法
HRESULT GetGlobalVariableValue(
[in] mdFieldDef fieldDef,
[out] ICorDebugValue **ppValue
);
參數
fieldDef [在] mdFieldDef 參考描述全域變數的中繼資料的記號。
ppValue [出]ICorDebugValue 物件位址的指標,代表指定全域變數的值。
需求
平台: 請參閱 .NET 支援的作業系統。
標題: CorDebug.idl、CorDebug.h
圖書館: CorGuids.lib
.NET 版本: 自 .NET Framework 1.0 起提供