SchedulerControl.GetCoreStorage() Method
Gets the DevExpress.XtraScheduler.SchedulerStorageBase class descendant.
Namespace: DevExpress.Xpf.Scheduler
Assembly: DevExpress.Xpf.Scheduler.v14.2.dll
Declaration
public SchedulerDataStorage GetCoreStorage()
Public Function GetCoreStorage As SchedulerDataStorage
Returns
| Type | Description |
|---|---|
| DevExpress.Xpf.Scheduler.Native.SchedulerDataStorage | A DevExpress.Xpf.Scheduler.Native.SchedulerDataStorage object. |
Remarks
Use the GetCoreStorage property to access a storage object for initializing an instance of the iCalendarExporter or iCalendarImporter class to be used to export or import data in iCalendar format.
Examples
The following example demonstrates how to export data from a scheduler to the iCalendar format. To do this, add a reference to the DevExpress.XtraScheduler.v14.2.iCalendarExchange.dll library (you can find this assembly file in C:\Program Files (x86)\DevExpress 14.2\Components\Bin\Silverlight), create an iCalendarExporter class instance, pass the scheduler storage accessed via SchedulerControl.GetCoreStorage to its constructor and call the AppointmentExporter.Export method with a parameter set to a stream that specifies the .ics file selected by an end-user.