put_component


Description:

public bool put_component (Component component, string? extra, uint32 custom_flags, CacheOfflineFlag offline_flag, Cancellable? cancellable = null) throws Error

Adds a component into the this.

Any existing with the same UID and RID is replaced.

Parameters:

this

an CalCache

component

an Component to put into the this

extra

an extra data to store in association with the component

custom_flags

custom flags for the component, not interpreted by the this

offline_flag

one of CacheOfflineFlag, whether putting this component in offline

cancellable

optional Cancellable object, or null

Returns:

Whether succeeded.