Skip to main content

AppointmentExchanger.GetAppointmentForeignId Event

Occurs before an Appointment Exchanger retrieves information about a foreign ID of an appointment, i.e. its identifier in a third-party scheduler application (for instance, MS Outlook) with which the appointment data are exchanged.

Namespace: DevExpress.XtraScheduler.Exchange

Assembly: DevExpress.XtraScheduler.v23.2.Core.dll

NuGet Package: DevExpress.Scheduler.Core

Declaration

public event ExchangeAppointmentEventHandler GetAppointmentForeignId

Event Data

The GetAppointmentForeignId event's data class is ExchangeAppointmentEventArgs. The following properties provide information specific to this event:

Property Description
Appointment Gets the appointment for which the event was raised. Inherited from AppointmentEventArgs.
Id Gets or sets the foreign appointment Id, that is the appointment identifier in the database of the third-party scheduler application (for instance, MS Outlook) with which appointment data is exchanged.

Remarks

Handle the GetAppointmentForeignId event when implementing appointment synchronization with a custom application to obtain and modify the foreign ID for the appointment being exported or imported. Note that usually you don’t need to handle this event, since the foreign ID is automatically stored and retrieved from the data field specified via the AppointmentSynchronizer.ForeignIdFieldName property.

See Also