Provides an enumerator for objects on the managed heap. This interface is a subclass of the ICorDebugEnum interface.
|Next Method||Gets the specified number of COR_HEAPOBJECT instances that contain information about objects on the managed heap.|
ICorDebugHeapEnum interface implements the ICorDebugEnum interface.
ICorDebugHeapEnum instance is populated with COR_HEAPOBJECT instances by calling the ICorDebugProcess5::EnumerateHeap method. Each COR_HEAPOBJECT instance in the collection represents either a live object on the heap or an object that is not rooted by any object but has not yet been collected by the garbage collector. The COR_HEAPOBJECT objects in the collection can be enumerated by calling the ICorDebugHeapEnum::Next method.
Platforms: See System Requirements.
Header: CorDebug.idl, CorDebug.h
.NET Framework Versions: Available since 4.5