SchedulerStorage.ExportToICalendar(String) Method
Saves all appointments to a file in iCalendar format.
Namespace: DevExpress.Xpf.Scheduler
Assembly: DevExpress.Xpf.Scheduler.v24.2.dll
NuGet Package: DevExpress.Wpf.Scheduler
Declaration
Parameters
Name | Type | Description |
---|---|---|
path | String | A string that is a file path to which the appointments will be exported. |
Remarks
Important
You are viewing documentation for the legacy WPF Scheduler control. If you’re starting a new project, we strongly recommend that you use a new control declared in the DevExpress.Xpf.Scheduling namespace. If you decide to upgrade an existing project in order to switch to the updated scheduler control, see the Migration Guidelines document.
The ExportToICalendar method exports all appointments contained within the Scheduler Storage to the specified file in iCalendar format. To get more control over the process, use the methods of the iCalendarExporter class instance. To filter appointments for export, handle the AppointmentExporter.AppointmentExporting event.
Note
The ExportToICalendar method exports custom fields to non-standard iCalendar properties with the default second prefix “DEVEXPRESS”. To change it, use the AppointmentExporter.Export method instead, and specify the iCalendarExporter.CustomPropertyIdentifier value.
When exporting data from the storage to iCalendar format, make sure that the DevExpress.XtraScheduler.vX.Y.iCalendarExchange.dll assembly is included in the References list of your project.