set_icalcomponent


Description:

public bool set_icalcomponent (long icalcomp)

Sets the contents of a calendar component object from an icalcomponent structure.

If the comp already had an icalcomponent set into it, it will will be freed automatically if the icalcomponent does not have a parent component itself.

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

Parameters:

icalcomp

An icalcomponent.

Returns:

TRUE on success, FALSE if icalcomp is an unsupported component type.