Appointment.DeleteExceptions() Method

Removes changed and deleted occurrences for the current pattern appointment.

Namespace: DevExpress.XtraScheduler

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


void DeleteExceptions()


Call the DeleteExceptions method of the pattern appointment to remove exceptions (changed and deleted occurrences) in the recurring series defined by that pattern. Use the Appointment.RecurrencePattern property to obtain a pattern appointment.


If the current appointment is not a pattern (its Appointment.Type is not AppointmentType.Pattern), then calling the DeleteExceptions method throws an exception.

See the Recurring Appointments and Exceptions topic for information on pattern appointments and occurrences.

See Also