_CalendarSharing.SaveAsICal(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Exports calendar information from the parent Folder of the CalendarSharing object as an iCalendar calendar (.ics) file.
public:
void SaveAsICal(System::String ^ Path);
public void SaveAsICal (string Path);
Public Sub SaveAsICal (Path As String)
Parameters
- Path
- String
The path and file name of the iCalendar file.
Remarks
The level of detail provided in the iCalendar file is determined by a combination of values in the following CalendarSharing properties:
You can set the IncludeWholeCalendar property to True to export all items contained in the folder, or you can set the StartDate and EndDate properties to limit the exported items to a date range between a specified start date and end date, respectively.