Share via


BindToFilter Method

The BindToFilter method of the IUrlAccessor interface returns a pointer to the appropriate IFilter implementation for the item so that the Filter Daemon can retrieve properties and text for the search component.

Parameters

ppFilter  [out] Address of a pointer to the IFilter that will be used to filter this item.

Return Value

For a list of error messages returned by Microsoft Office SharePoint Portal Server 2003 protocol handlers, see Protocol Handler Error Messages.

Remarks

All protocol handlers must implement a BindToFilter, BindToStream, or GetFileName method for the Filter Daemon to retrieve any useful information from that item. Protocol handlers may implement either the BindToFilter or BindToStream method, or both methods. For example, protocol handlers may use the BindToFilter method for metadata associated with items in the content source, and use the BindToStream method to retrieve the content of the items.

The BindToFilter method is called only once by the Filter Daemon. If the item is a document with multiple embedded documents, you must use an IFilter implementation that enumerates the embedded documents and invokes the appropriate IFilter for each.

Requirements

Platforms: Microsoft Windows Server 2003