Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

SchedulerDataStorage.ImportFromICalendar(String) Method

Imports appointments from the file in iCalendar format.

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v24.2.dll

NuGet Package: DevExpress.Win.Scheduler

#Declaration

public void ImportFromICalendar(
    string path
)

#Parameters

Name Type Description
path String

A string that represents a file path from which the appointments will be imported.

#Remarks

The ImportFromICalendar method imports the appointments contained in the specified file 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.

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.

See Also