Skip to main content

OutlookExport Class

Represents an object that exports Scheduler appointments to MS Outlook calendar items.

Namespace: DevExpress.XtraScheduler.Outlook

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


public class OutlookExport :


The main functionality of the OutlookExport class is provided by the AppointmentExporter.Export method.

You should specify the SchedulerStorage component that contains appointments for export when creating a OutlookExport instance. The OutlookExport.CalendarFolderName property enables you to specify a destination calendar different from the default.

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

A set of events controls the import process - the AppointmentExporter.AppointmentExporting is raised before each appointment is exported, and gives you the ability to not export a particular appointment, by setting the AppointmentCancelEventArgs.Cancel to true. The AppointmentExporter.AppointmentExported event is raised after each appointment has been exported, and the AppointmentExchanger.OnException enables you to catch export 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 OutlookExport 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