IADsPropertyList::Skip

Skips a specified number of items in the property list.

HRESULT Skip(
  ULONG cElements  //Number of elements to be skipped
);
 

Parameters

cElements
[in] Number of elements to be skipped. If 0, E_FAIL is returned.

Return Values

This method returns the standard values E_INVALIDARG, E_OUTOFMEMORY, E_UNEXPECTED, and E_FAIL, as well as the following:

S_OK
The items were skipped.
S_FALSE
Skipping the number of items would exceed the length of the list. No items were skipped.