Compartir a través de


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.12.0 (in Microsoft.VisualStudio.Shell.12.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

  • celt
    Type: UInt32

    Number of elements to skip.

Return Value

Type: 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