ICorDebugModule::GetGlobalVariableValue Method

Gets the value of the specified global variable.

Syntax

HRESULT GetGlobalVariableValue(  
    [in]  mdFieldDef      fieldDef,  
    [out] ICorDebugValue  **ppValue  
);  

Parameters

fieldDef
[in] An mdFieldDef token that references the metadata describing the global variable.

ppValue
[out] A pointer to the address of an ICorDebugValue object that represents the value of the specified global variable.

Requirements

Platforms: See System Requirements.

Header: CorDebug.idl, CorDebug.h

Library: CorGuids.lib

.NET Framework Versions: Available since 1.0