Delen 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: See .NET Framework System Requirements.

Header: CorDebug.idl

Library: CorGuids.lib

.NET Framework Versions: 3.5 SP1, 3.5, 3.0 SP1, 3.0, 2.0 SP1, 2.0, 1.1, 1.0

See Also

Reference

ICorDebugModule Interface

ICorDebugModule2 Interface