Share via


VsEnumerable<TComEnumerator, TComEnumerated, TEnumerated>.Skip Method

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

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

Syntax

'Declaration
Public Function Skip ( _
    celt As UInteger _
) As Integer
public int Skip(
    uint celt
)
public:
virtual int Skip(
    unsigned int celt
) sealed
abstract Skip : 
        celt:uint32 -> int  
override Skip : 
        celt:uint32 -> int
public final function Skip(
    celt : uint
) : int

Parameters

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.

.NET Framework Security

See Also

Reference

VsEnumerable<TComEnumerator, TComEnumerated, TEnumerated> Class

Microsoft.VisualStudio.Shell Namespace