create_object_sync


Description:

public bool create_object_sync (Component icalcomp, OperationFlags opflags, out string? out_uid, Cancellable? cancellable = null) throws Error

Requests the calendar backend to create the object specified by the icalcomp argument.

Some backends would assign a specific UID to the newly created object, in those cases that UID would be returned in the out_uid argument. This function does not modify the original icalcomp if its UID changes. Returned out_uid should be freed with g_free.

Parameters:

this

an Client

icalcomp

The component to create

opflags

bit-or of OperationFlags

out_uid

Return value for the UID assigned to the new component by the calendar backend

cancellable

a Cancellable; can be null

Returns:

true if successful, false otherwise.