Skip to main content

SchedulerStorageBase.ExportToICalendar(String) Method

Saves all appointments to file in iCalendar format.

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v24.1.Core.Desktop.dll

NuGet Package: DevExpress.Scheduler.CoreDesktop

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 SchedulerStorage 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