共用方式為


CComEnumImpl::Skip

This method provides the implementation of the IEnumXXXX::Skip method.

STDMETHOD(Skip)( 
   ULONG celt  
);

Parameters

  • celt
    [in] The number of elements to skip.

Return Value

A standard HRESULT value.

Remarks

Returns E_INVALIDARG if celt is zero, returns S_FALSE if less than celt elements are returned, returns S_OK otherwise.

Requirements

Header: atlcom.h

See Also

Reference

CComEnumImpl Class