Skip to main content

ISchedulerStorageBase.ImportFromICalendar(Stream) Method

Imports appointments from the file in iCalendar format.

Namespace: DevExpress.XtraScheduler

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

NuGet Package: DevExpress.Scheduler.Core

Declaration

void ImportFromICalendar(
    Stream stream
)

Parameters

Name Type Description
stream Stream

A Stream object which specifies the stream from which the appointment data is imported.

Remarks

The ImportFromICalendar method imports the appointments contained in the specified stream in iCalendar format. Use the iCalendarExporter class methods to get more control over the process. To filter appointments for import, handle the AppointmentImporter.AppointmentImporting event.

Note

The ImportFromICalendar method imports non-standard iCalendar properties to custom fields, provided the iCalendar property’s second prefix matches the iCalendarImporter.CustomPropertyIdentifier value.

See Also