create_objects_sync
Description:
[ Version ( since = "3.6" ) ]
public bool create_objects_sync (SList<Component> icalcomps, OperationFlags opflags, out SList<string> out_uids, Cancellable? cancellable = null) throws Error
public bool create_objects_sync (SList<Component> icalcomps, OperationFlags opflags, out SList<string> out_uids, Cancellable? cancellable = null) throws Error
Requests the calendar backend to create the objects specified by the icalcomps
argument.
Some backends would assign a specific UID to the newly created objects, in those cases these UIDs would be returned in the out_uids
argument. This function does not modify the original icalcomps
if their UID changes. Returned out_uids
should
be freed with util_free_string_slist.
Parameters:
this |
an Client |
icalcomps |
The components to create |
opflags |
bit-or of OperationFlags |
out_uids |
Return value for the UIDs assigned to the new components by the calendar backend |
cancellable |
a Cancellable; can be null |
Returns:
true if successful, false otherwise. |