search_sync


Description:

public virtual bool search_sync (string? expr, out SList<string> out_icalstrings, Cancellable? cancellable = null) throws Error

Searches this with given expression expr and returns found components as a SList of iCal strings out_icalstrings.

Free the returned out_icalstrings with g_slist_free_full (icalstrings, g_free); when no longer needed. When the expr is null, all objects are returned. To get Component-s instead, call search_components_sync.

It is optional to implement this virtual method by the descendant. The default implementation searches this 's cache. It's also not required to be online for searching, thus this doesn't ensure it.

Parameters:

this

an CalMetaBackend

expr

a search expression, or null

out_icalstrings

return location for the found components as iCal strings

cancellable

optional Cancellable object, or null

Returns:

Whether succeeded.