set_icalcomponent


Description:

[ Version ( since = "3.34" ) ]
public bool set_icalcomponent (owned Component? icalcomp)

Sets the contents of a calendar component object from an Component.

If the this already had an Component set into it, it will be freed automatically.

Supported component types are VEVENT, VTODO, VJOURNAL, VFREEBUSY, and VTIMEZONE.

Parameters:

this

A calendar component object.

icalcomp

An Component.

Returns:

true on success, false if icalcomp is an unsupported component type.