Gets the specified number of COR_SEGMENT instances that contain information about memory regions of the managed heap.
HRESULT Next( [in] ULONG celt, [out, size_is(celt), length_is(*pceltFetched)] COR_SEGMENT segments, [out] ULONG *pceltFetched );
[in] The number of segments to be retrieved.
[out] An array of pointers, each of which points to a COR_SEGMENT object that provides information about a region of memory in the managed heap.
[out] A pointer to the number of COR_SEGMENT objects actually returned in
segments. This value may be
celt is 1.
Platforms: See System Requirements.
Header: CorDebug.idl, CorDebug.h
.NET Framework Versions: Available since 4.5
Submit and view feedback for