ICorDebugCode4::EnumerateVariableHomes Method

Gets an enumerator to the local variables and arguments in a function.

Syntax

HRESULT EnumerateVariableHomes(
    [out] ICorDebugVariableHomeEnum **ppEnum
);

Parameters

ppEnum A pointer to the address of an ICorDebugVariableHomeEnum interface object that is an enumerator for the local variables and arguments in a function.

Remarks

The ICorDebugVariableHomeEnum interface object is a standard enumerator derived from the "ICorDebugEnum" interface that allows you to enumerate ICorDebugVariableHome objects. The collection may include multiple ICorDebugVariableHome objects for the same slot or argument index if they have different homes at different points in the function.

Requirements

Platforms: See System Requirements.

Header: CorDebug.idl, CorDebug.h

Library: CorGuids.lib

.NET Framework Versions: Available since 4.6.2

See also