Partager via


ICorDebugModule::GetGlobalVariableValue Method

Gets the value of the specified global variable.

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: Windows 2000, Windows XP, Windows Server 2003 family

Header: CorDebug.idl

Library: CorGuids.lib

.NET Framework Version: 2.0, 1.1, 1.0

See Also

Concepts

ICorDebugModule Interface

ICorDebugModule2 Interface