IEnumSearchRoots::Skip Method

Skips the specified number of elements.

Syntax

HRESULT Skip(      
    ULONG celt
);

Parameters

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

Return Value

Returns S_OK if successful, S_FALSE if there were not enough items left in the enumeration to skip, or an error value.

Remarks

IEnumSearchRoots::Skip moves the internal counter forward a specified number of elements so that a subsequent call to IEnumSearchRoots::Next starts from that point.

Windows 7 and later: the CrawlScopeCommandLine code sample, available on Code Gallery and the Windows 7 SDK, demonstrates how to define command line options for Crawl Scope Manager (CSM) indexing operations.