get_component_as_string


Description:

public string? get_component_as_string (Component icalcomp)

Gets a calendar component as an iCalendar string, with a toplevel VCALENDAR component and all VTIMEZONEs needed for the component.

Parameters:

this

A calendar client.

icalcomp

A calendar component object.

Returns:

the component as a complete iCalendar string, or NULL on failure. The string should be freed with g_free.