IVsEnumTaskItems::Skip Method (UInt32)

 

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)

int Skip(
	unsigned int celt
)

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.

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.

Return to top
Show: