search_sync


Description:

[ Version ( since = "3.58" ) ]
public virtual bool search_sync (string expression, out GenericArray<unowned string>? out_uids, Cancellable? cancellable = null) throws Error

Searches the folder for messages matching the given search expression.

Free the array with g_ptr_array_unref, when no longer needed.

Parameters:

this

a Folder

expression

a search expression

out_uids

return location for a GenericArray of uids of matching messages, or null when none found or error happened

cancellable

a Cancellable

Returns:

whether succeeded