OutlookImport Class

Represents an object that imports MS Outlook calendar items into Scheduler appointments.

Namespace: DevExpress.XtraScheduler.Outlook

Assembly: DevExpress.XtraScheduler.v21.2.Core.Desktop.dll


public class OutlookImport :


The main functionality of the OutlookImport class is provided by the AppointmentImporter.Import method.

You should specify the SchedulerStorage component to store imported appointments when creating a OutlookImport instance. The OutlookImport.CalendarFolderName property enables you to specify a source calendar different from the default.

The OutlookImport.SetCalendarProvider method provides you with the ability to process Outlook items before they are loaded.

A set of events controls the import process - the AppointmentImporter.AppointmentImporting is raised before each appointment is imported, and gives you the ability to not import a particular item by setting the AppointmentCancelEventArgs.Cancel to true. The AppointmentImporter.AppointmentImported event is raised after each appointment has been imported, and the AppointmentExchanger.OnException enables you to catch import errors and respond adequately - even by terminating the process by calling the AppointmentExchanger.Terminate method.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the OutlookImport class.


The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also