Skip to main content

SchedulerDataStorage.ExportToICalendar(String) Method

Saves all appointments to file in iCalendar format.

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v23.2.dll

NuGet Package: DevExpress.Win.Scheduler

Declaration

public void ExportToICalendar(
    string path
)

Parameters

Name Type Description
path String

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

Remarks

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.

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.

See Also