Appointment.RestoreOccurrence() Method

Replaces an exceptional appointment with the regular occurrence in the recurring series.

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v20.1.Core.dll


void RestoreOccurrence()
Sub RestoreOccurrence


If a regular Recurrence has been modified or deleted, the RestoreOccurrence method resets these changes and replaces the exceptional recurrence with a regular one.


If the current appointment is not an occurrence (its Appointment.Type is not AppointmentType.Occurrence), then the ArgumentException exception is thrown.

See Also