IEnumDebugPortSuppliers2::Skip

Applies to: yesVisual Studio noVisual Studio for Mac

Note

This article applies to Visual Studio 2017. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

Skips over the specified number of elements.

Syntax

HRESULT Skip(
   ULONG celt
);
int Skip(
   uint celt
);

Parameters

celt
[in] Number of elements to skip.

Return Value

If successful, returns S_OK. Returns S_FALSE if celt is greater than the number of remaining elements; otherwise, returns an error code.

Remarks

If celt specifies a value greater than the number of remaining elements, the enumeration is set to the end and S_FALSE is returned.

See also