ICorDebugHeapSegmentEnum::Next Method
Gets the specified number of COR_SEGMENT instances that contain information about memory regions of the managed heap.
Syntax
HRESULT Next(
[in] ULONG celt, [out, size_is(celt), length_is(*pceltFetched)] COR_SEGMENT segments[],
[out] ULONG *pceltFetched
);
Parameters
celt [in] The number of segments to be retrieved.
segments [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.
pceltFetched
[out] A pointer to the number of COR_SEGMENT objects actually returned in segments
. This value may be null
if celt
is 1.
Remarks
Requirements
Platforms: See System Requirements.
Header: CorDebug.idl, CorDebug.h
Library: CorGuids.lib
.NET Framework Versions: Available since 4.5
See also
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.