Freigeben über


IEnumDebugReferenceInfo2

This interface enumerates DEBUG_REFERENCE_INFO structures.

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 IDebugReference2::EnumChildren to obtain this interface.

Methods in Vtable Order

The following table shows the methods of IEnumDebugReferenceInfo2.

Method

Description

IEnumDebugReferenceInfo2::Next

Retrieves a specified number of DEBUG_REFERENCE_INFO structures in an enumeration sequence.

IEnumDebugReferenceInfo2::Skip

Skips a specified number of DEBUG_REFERENCE_INFO structures in the enumeration sequence.

IEnumDebugReferenceInfo2::Reset

Resets an enumeration sequence to the beginning.

IEnumDebugReferenceInfo2::Clone

Creates an enumerator that contains the same enumeration state as the current enumerator.

IEnumDebugReferenceInfo2::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

Reference

DEBUG_REFERENCE_INFO

IDebugReference2

IDebugReference2::EnumChildren

Concepts

Core Interfaces