search_components_sync


Description:

public virtual bool search_components_sync (string? expr, out SList<Component> out_components, Cancellable? cancellable = null) throws Error

Searches this with given expression expr and returns found components as a SList of Component out_components.

Free the returned out_components with g_slist_free_full (components, g_object_unref); when no longer needed. When the expr is null, all objects are returned. To get iCal strings instead, call search_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_components

return location for the found Component-s

cancellable

optional Cancellable object, or null

Returns:

Whether succeeded.