get_object_sync


Description:

public bool get_object_sync (string uid, string? rid, out Component out_icalcomp, Cancellable? cancellable = null) throws Error

Queries a calendar for a calendar component object based on its unique identifier.

This function always returns master object for a case of rid being NULL or an empty string. This component should be freed with unref, when no longer needed.

Use get_objects_for_uid_sync to get list of all objects for the given uid, which includes master object and all detached instances.

Parameters:

this

an Client

uid

Unique identifier for a calendar component.

rid

Recurrence identifier.

out_icalcomp

Return value for the calendar component object.

cancellable

a Cancellable; can be null

Returns:

true if successful, false otherwise.