IsDirectory Method

The IsDirectory method indicates whether the item URL points to a directory.

Syntax
HRESULT IsDirectory();
Parameters

None.

Return Value

Return S_OK is URL item is a directory. Return S_FALSE otherwise.

For a list of error messages returned by SharePoint Portal Server Protocol Handlers, see Error Messages.

Remarks

This method is used by protocol handlers that access hierarchical content sources.

Example

To see this method in a fuller context, see Protocol Handler Sample.