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

  • 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 .NET Framework System Requirements.

Header: CorProf.idl, CorProf.h

Library: CorGuids.lib

.NET Framework Versions: 4, 3.5 SP1, 3.5, 3.0 SP1, 3.0, 2.0 SP1, 2.0

See Also

Reference

ICorProfilerObjectEnum Interface