Share via


ICorProfilerObjectEnum::Next Method

Gets the specified number of contiguous objects from a sequential collection of objects, starting at the enumerator's current position in the sequence.

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

Parameters

Parameter Description

celt

[in] The number of objects to be retrieved.

objects

[out] An array of ObjectID values, each of which represents a retrieved object.

pceltFetched

[out] A pointer to the number of elements actually returned in the objects array.

Requirements

Platforms: Windows 2000, Windows XP, Windows Server 2003 family

Header: CorProf.idl

Library: CorGuids.lib

.NET Framework Version: 2.0