AppointmentExportSynchronizer Class
Serves as a base class that implements appointment synchronization for export scenarios.
Namespace: DevExpress.XtraScheduler.Exchange
Assembly: DevExpress.XtraScheduler.v18.1.Core.dll
Declaration
Related API Members
The following members accept/return AppointmentExportSynchronizer objects:
Library | Related API Members |
---|---|
Cross-Platform Class Library | ISchedulerStorageBase.CreateOutlookExportSynchronizer() |
SchedulerStorageBase.CreateOutlookExportSynchronizer() | |
WinForms Controls | SchedulerDataStorage.CreateOutlookExportSynchronizer() |
ASP.NET Web Forms Controls | MVCxSchedulerStorage.CreateOutlookExportSynchronizer() |
Remarks
Use the SchedulerStorageBase.CreateOutlookExportSynchronizer method to create an object of the AppointmentExportSynchronizer type.
The following code snippet illustrates the use of the AppointmentExportSynchronizer class.
Note
A complete sample project is available at https://github.com/DevExpress-Examples/synchronization-with-ms-outlook-a-demonstration-example-t158895
AppointmentExportSynchronizer synchronizer = schedulerControl1.Storage.CreateOutlookExportSynchronizer();
// Specify the field that contains appointment identifier used by a third-party application.
synchronizer.ForeignIdFieldName = OutlookEntryIDFieldName;
// The AppointmentSynchronizing event allows you to control the operation for an individual appointment.
synchronizer.AppointmentSynchronizing += new AppointmentSynchronizingEventHandler(exportSynchronizer_AppointmentSynchronizing);
// The AppointmentSynchronized event indicates that the operation for a particular appointment is complete.
synchronizer.AppointmentSynchronized += new AppointmentSynchronizedEventHandler(exportSynchronizer_AppointmentSynchronized);
// Specify MS Outlook calendar path.
((ISupportCalendarFolders)synchronizer).CalendarFolderName = comboBoxEdit1.EditValue.ToString();
// Perform the operation.
synchronizer.Synchronize();
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the AppointmentExportSynchronizer class.
Note
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.