IEnumDebugReferenceInfo2

Applies to: yesVisual Studio noVisual Studio for Mac

Note

This article applies to Visual Studio 2017. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

This interface enumerates DEBUG_REFERENCE_INFO structures.

Syntax

IEnumDebugReferenceInfo2 : IUnknown

Notes for Implementers

The debug engine (DE) implements this interface as part of its support for references to objects in memory. This interface must be implemented only if references are supported.

Notes for Callers

Visual Studio calls EnumChildren to obtain this interface.

Methods in Vtable Order

The following table shows the methods of IEnumDebugReferenceInfo2.

Method Description
Next Retrieves a specified number of DEBUG_REFERENCE_INFO structures in an enumeration sequence.
Skip Skips a specified number of DEBUG_REFERENCE_INFO structures in the enumeration sequence.
Reset Resets an enumeration sequence to the beginning.
Clone Creates an enumerator that contains the same enumeration state as the current enumerator.
GetCount Gets the number of DEBUG_REFERENCE_INFO structures in an enumerator.

Remarks

A reference is essentially a type and an address, whereas a property is a name, type, and address. A reference persists as long as the object referred to exists in memory. See IDebugReference2 for more details.

Requirements

Header: msdbg.h

Namespace: Microsoft.VisualStudio.Debugger.Interop

Assembly: Microsoft.VisualStudio.Debugger.Interop.dll

See also