Skip to main content

Appointment.DeleteExceptions() Method

Removes changed and deleted occurrences for the current pattern appointment.

Namespace: DevExpress.XtraScheduler

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

NuGet Package: DevExpress.Scheduler.Core

Declaration

void DeleteExceptions()

Remarks

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.

Important

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