corelibraries-devexpress-dot-xtrascheduler-dot-exchange-4bbdb049.md
Serves as a base class that implements appointment synchronization for export scenarios.
Namespace : DevExpress.XtraScheduler.Exchange
Assembly : DevExpress.XtraScheduler.v25.2.Core.dll
NuGet Package : DevExpress.Scheduler.Core
public abstract class AppointmentExportSynchronizer :
AppointmentSynchronizer
Public MustInherit Class AppointmentExportSynchronizer
Inherits AppointmentSynchronizer
The following members return AppointmentExportSynchronizer objects:
| Library | Related API Members |
|---|---|
| Cross-Platform Class Library | ISchedulerStorageBase.CreateOutlookExportSynchronizer() |
| SchedulerStorageBase.CreateOutlookExportSynchronizer() | |
| WinForms Controls | SchedulerDataStorage.CreateOutlookExportSynchronizer() |
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/winforms-scheduler-sync-with-outlook
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();
Dim synchronizer As AppointmentExportSynchronizer = 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.
AddHandler synchronizer.AppointmentSynchronizing, AddressOf exportSynchronizer_AppointmentSynchronizing
' The AppointmentSynchronized event indicates that the operation for a particular appointment is complete.
AddHandler synchronizer.AppointmentSynchronized, AddressOf exportSynchronizer_AppointmentSynchronized
' Specify MS Outlook calendar path.
DirectCast(synchronizer, ISupportCalendarFolders).CalendarFolderName = comboBoxEdit1.EditValue.ToString()
' Perform the operation.
synchronizer.Synchronize()
Object AppointmentExchanger AppointmentSynchronizer AppointmentExportSynchronizer OutlookExportSynchronizer
See Also
AppointmentExportSynchronizer Members
Synchronization with Microsoft Outlook