Skip to content

Latest commit

 

History

History
61 lines (45 loc) · 1.89 KB

icordebugheapenum-next-method.md

File metadata and controls

61 lines (45 loc) · 1.89 KB
description title ms.date api_name api_location api_type f1_keywords helpviewer_keywords ms.assetid topic_type
Learn more about: ICorDebugHeapEnum::Next Method
ICorDebugHeapEnum::Next Method
03/30/2017
ICorDebugHeapEnum.Next
mscordbi.dll
COM
ICorDebugHeapEnum::Next
ICorDebugHeapEnum::Next method [.NET Framework debugging]
Next method, ICorDebugHeapEnum interface [.NET Framework debugging]
2221fd06-9e27-4113-972e-2530db8c3594
apiref

ICorDebugHeapEnum::Next Method

Gets the specified number of COR_HEAPOBJECT instances that contain information about objects on the managed heap.

Syntax

HRESULT Next(  
    [in] ULONG celt,    [out, size_is(celt), length_is(*pceltFetched)] COR_HEAPOBJECT  objects[],
    [out] ULONG *pceltFetched  
);  

Parameters

celt
[in] The number of objects to be retrieved.

objects
[out] An array of pointers, each of which points to a COR_HEAPOBJECT object that provides information about an object on the managed heap.

pceltFetched
[out] A pointer to the number of COR_HEAPOBJECT objects actually returned in objects. This value may be null if celt is 1.

Remarks

The COR_HEAPOBJECT.type field is the identifier of a nested reference-counted COM interface. This reference must be released by the caller of ICorDebugHeapEnum::Next.

Requirements

Platforms: See System Requirements.

Header: CorDebug.idl, CorDebug.h

Library: CorGuids.lib

.NET Framework Versions: [!INCLUDEnet_current_v45plus]

See also