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.

Syntax

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

Parameters

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: See System Requirements.

Header: CorProf.idl, CorProf.h

Library: CorGuids.lib

.NET Framework Versions: Available since 2.0

See also