Skip to main content

SchedulerDataStorage.ExportToICalendar(String) Method

Saves all appointments to file in iCalendar format.

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v22.1.dll

NuGet Package: DevExpress.Win.Scheduler


public void ExportToICalendar(
    string path


Name Type Description
path String

A string that represents a file path to which the appointments will be exported.


The ExportToICalendar method exports all appointments contained within the SchedulerDataStorage to the specified file in iCalendar format. Use the iCalendarExporter class methods to get more control over the process. To filter appointments for export, handle the AppointmentExporter.AppointmentExporting event.


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.

See Also