Dela via


IVsEnumTaskItems.Skip Method

Skips a specified number of task items in the enumeration sequence.

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

Syntax

'Declaration
Function Skip ( _
    celt As UInteger _
) As Integer
int Skip(
    uint celt
)
int Skip(
    [InAttribute] unsigned int celt
)
abstract Skip : 
        celt:uint32 -> int
function Skip(
    celt : uint
) : int

Parameters

  • celt
    Type: UInt32

    [in] Number of tasks in the enumeration to skip.

Return Value

Type: Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From vsshell.idl:

HRESULT IVsEnumTaskItems::Skip(
   [in] ULONG celt
);

The tasks are skipped from the current position of the enumeration. The Reset and IVsEnumTaskItems.Skip methods of this interface can be used to get to a particular position of the enumeration before using Next to retrieve task items from the enumeration.

Refer to the Remarks under the Reset method.

.NET Framework Security

See Also

Reference

IVsEnumTaskItems Interface

Microsoft.VisualStudio.Shell.Interop Namespace