Skip to main content
A newer version of this page is available. .

ISchedulerStorageBase.ExportToICalendar(Stream) Method

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

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v19.2.Core.dll

Declaration

void ExportToICalendar(
    Stream stream
)

Parameters

Name Type Description
stream Stream

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

Remarks

The ExportToICalendar method exports all appointments contained within the SchedulerStorage 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.

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