Edit

Share via


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 .NET supported operating systems.

Header: CorDebug.idl, CorDebug.h

Library: CorGuids.lib

.NET versions: Available since .NET Framework 1.0