Clears any existing component data from a calendar component object and creates a new icalcomponent
of the specified type
for it.
The only property that will be set in the new component will be its unique identifier.
type |
Type of calendar component to create. |