ICorProfilerThreadEnum::Skip Method

Advances the enumerator's cursor from its current position to skip the specified number of elements.

Syntax

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

Header: CorProf.idl, CorProf.h

Library: CorGuids.lib

.NET Framework Versions: Available since 4.5

See also