corelibraries-devexpress-dot-xtrascheduler-dot-appointmentsynchronizingeventargs.md
Specifies what type of synchronization operation should be performed.
Namespace : DevExpress.XtraScheduler
Assembly : DevExpress.XtraScheduler.v25.2.Core.dll
NuGet Package : DevExpress.Scheduler.Core
public SynchronizeOperation Operation { get; set; }
Public Property Operation As SynchronizeOperation
| Type | Description |
|---|---|
| SynchronizeOperation |
A SynchronizeOperation enumeration value.
|
Available values:
| Name | Description |
|---|---|
| Create |
A new appointment will be created in the synchronization target.
| | Replace |
An appointment in the synchronization target will be replaced by an appropriate appointment from the synchronization source.
| | Delete |
An appointment in the synchronization target will be deleted.
|
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Operation property.
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.
winforms-scheduler-sync-outlook-calendars/CS/SyncWithOutlook/OutlookSynchronizerHelper.cs#L126
void AnalyzeAndHandleCurrentOperation(DevExpress.XtraScheduler.Outlook.OutlookAppointmentSynchronizingEventArgs eventArgs) {
switch(eventArgs.Operation) {
case SynchronizeOperation.Create:
winforms-scheduler-sync-outlook-calendars/VB/SyncWithOutlook/OutlookSynchronizerHelper.vb#L165
Private Sub AnalyzeAndHandleCurrentOperation(ByVal eventArgs As DevExpress.XtraScheduler.Outlook.OutlookAppointmentSynchronizingEventArgs)
Select Case eventArgs.Operation
Case SynchronizeOperation.Create
See Also
How to: Export Data to vCalendar
How to: Import Data from vCalendar
AppointmentSynchronizingEventArgs Class