Skip to main content

SchedulerDataStorage.ExportToICalendar(Stream) Method

Exports appointments in the scheduler to a stream in the iCalendar format.

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v22.1.dll

NuGet Package: DevExpress.Win.Scheduler


public void ExportToICalendar(
    Stream stream


Name Type Description
stream Stream

A Stream object which specifies the stream into which the scheduler’s data will be exported.


The ExportToICalendar method exports all appointments contained within the SchedulerDataStorage to the specified stream 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