Freigeben über


VsEnumerable<TComEnumerator,TComEnumerated,TEnumerated>.Skip Method

Definition

Moves the current position in an enumeration ahead by a specified number of elements.

public:
 virtual int Skip(System::UInt32 celt);
public:
 int Skip(unsigned int celt);
int Skip(unsigned int celt);
public int Skip (uint celt);
abstract member Skip : uint32 -> int
override this.Skip : uint32 -> int
Public Function Skip (celt As UInteger) As Integer

Parameters

celt
UInt32

Number of elements to skip.

Returns

S_OK if successful. If celt is greater than the number of elements left to enumerate, then this call skips to the end of the enumeration and S_FALSE is returned.

Applies to