ImportICS Method
Imports iCal data (contained in an ICS file) into the component's property list.
Syntax
[VB.NET] Public Sub ImportICS(ByVal CalendarData As String)
[C#] public void ImportICS(string calendarData);
Remarks
This method is used to load calendar data from an external source into the component. You may then submit this data with a call to PutCalendarEvent. If you edit any of the component properties between importing and calling PutCalendarEvent, the component will re-generate the PUT request itself. If no properties are changed, the imported data will be submitted unaltered when calling PutCalendarEvent.
Note that the CalendarData you wish to import must contain a single VEVENT, VTODO, or VJOURNAL inside of a VCALENDAR. (A VTIMEZONE may be optionally contained inside the VCALENDAR as well). If multiple calendar objects are included in the imported data they will not be parsed correctly into properties, and the server's response to the PutCalendarEvent method is undefined.