Share via


ICorProfilerFunctionEnum::Skip Method

Advances the enumerator's cursor from its current position so that the specified number of elements are skipped.

HRESULT Skip([in] ULONG celt);

Parameters

  • celt
    [in] The number of elements to be skipped.

Return Value

This method returns the following specific HRESULTs as well as HRESULT errors that indicate method failure.

HRESULT

Description

S_OK

celt elements were skipped.

S_FALSE

Fewer than celt elements were skipped, which indicates that there are no more elements.

Remarks

The new position of this enumerator's cursor is (current position) + celt.

Requirements

Platforms: See .NET Framework System Requirements.

Header: CorProf.idl, CorProf.h

Library: CorGuids.lib

.NET Framework Versions: 4

See Also

Reference

ICorProfilerFunctionEnum Interface

Other Resources

Profiling Interfaces