search


Description:

public GenericArray<string> search (string expr, GenericArray<string> uids, Cancellable? cancellable = null) throws Error

Run a search.

Search must have had Folder already set on it, and it must implement summaries.

Parameters:

this

a FolderSearch

expr

a search expression to run

uids

to search against, NULL for all uid's.

cancellable

a Cancellable

Returns:

a GenericArray with matching UIDs, or null on error. Use free_result to free it when no longer needed.