VsEnumerable<TComEnumerator, TComEnumerated, TEnumerated>::Skip Method (UInt32)

 

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

Namespace:   Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.14.0 (in Microsoft.VisualStudio.Shell.14.0.dll)

public:
virtual int Skip(
	unsigned int celt
) sealed

Parameters

celt
Type: System::UInt32

Number of elements to skip.

Return Value

Type: System::Int32

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.

Return to top
Show: