次の方法で共有


IVsEnumTaskItems.Skip(UInt32) Method

Definition

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

public:
 int Skip(System::UInt32 celt);
public:
 int Skip(unsigned int celt);
int Skip(unsigned int celt);
public int Skip (uint celt);
abstract member Skip : uint32 -> int
Public Function Skip (celt As UInteger) As Integer

Parameters

celt
UInt32

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

Returns

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.

Applies to