Export (0) Print
Expand All

ICorDebugILFrame::GetLocalVariable Method

Gets the value of the specified local variable in this Microsoft intermediate language (MSIL) stack frame.

HRESULT GetLocalVariable (
    [in] DWORD                  dwIndex,
    [out] ICorDebugValue        **ppValue


[in] The index of the local variable in this MSIL stack frame.


[out] A pointer to the address of an ICorDebugValue object that represents the retrieved value.

The GetLocalVariable method can be used either in an MSIL stack frame or in a just-in-time (JIT) compiled frame.

Platforms: See .NET Framework System Requirements.

Header: CorDebug.idl, CorDebug.h

Library: CorGuids.lib

.NET Framework Versions: 4.6 Preview, 4.5.2, 4.5.1, 4.5, 4, 3.5 SP1, 3.5, 3.0 SP1, 3.0, 2.0 SP1, 2.0, 1.1, 1.0

© 2015 Microsoft