SchedulerStorage.ImportFromICalendar(Stream) Method
Imports appointments from the file in iCalendar format.
Namespace: DevExpress.Xpf.Scheduler
Assembly: DevExpress.Xpf.Scheduler.v24.2.dll
NuGet Package: DevExpress.Wpf.Scheduler
#Declaration
#Parameters
Name | Type | Description |
---|---|---|
stream | Stream | A Stream object which specifies the stream from which the appointment data is imported. |
#Remarks
Important
You are viewing documentation for the legacy WPF Scheduler control. If you’re starting a new project, we strongly recommend that you use a new control declared in the DevExpress.
The ImportFromICalendar method imports the appointments contained in the specified stream in iCalendar format. To get more control over the process, use the methods of the iCalendarImporter class instance. To filter appointments for import, handle the AppointmentImporter.AppointmentImporting event.
Note
The Import
When importing data from iCalendar format, make sure that the DevExpress.XtraScheduler.vX.Y.iCalendarExchange.dll assembly is included in the References list of your project.