Inherits From:nsISupports

Searching of cards on a directory.

The search data is defined in the query section of the directory URI, for example


If no search data is defined then the methods will return immediately with no error.

This interface is implemented by the following components:


void startSearch ( ) void stopSearch ( )

void startSearch ( )

Starts a search on the directory.

If a search is already being performed it is stopped.

The results from a search, cards, will returned by informing the address book session that a new card has been added to the directory.

The nsIAbDirectoryQuery implementation of the directory component (or a proxy) may be used as an implementation for this specialization of query.

This method is semantically equivalent to the nsIAbDirectory.getChildCards method when there is search criteria defined in the directory uri.

void stopSearch ( )

Stops a search on the directory.

Reference documentation is generated from Mozilla's source.

Add a note User Contributed Notes
No comments available

Copyright © 1999 - 2005 XULPlanet.com