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

'宣言
Function Skip ( _
    celt As UInteger _
) As Integer
'使用
Dim instance As IVsEnumTaskItems
Dim celt As UInteger
Dim returnValue As Integer

returnValue = instance.Skip(celt)
int Skip(
    uint celt
)
int Skip(
    [InAttribute] unsigned int celt
)
function Skip(
    celt : uint
) : int

Parameters

  • celt
    Type: System.UInt32

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

Return Value

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

Permissions

See Also

Reference

IVsEnumTaskItems Interface

IVsEnumTaskItems Members

Microsoft.VisualStudio.Shell.Interop Namespace