IUrlAccessor2::IsDocument method (searchapi.h)

Ascertains whether an item URL is a document or directory.

Syntax

HRESULT IsDocument();

Return value

Type: HRESULT

Returns S_FALSE if the item is a directory; otherwise, it returns S_OK.

Requirements

Requirement Value
Minimum supported client Windows XP with SP2, Windows Vista [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header searchapi.h
Redistributable Windows Desktop Search (WDS) 3.0