Appointment.DeleteExceptions() Method

Removes changed and deleted occurrences for the current pattern appointment.

Namespace: DevExpress.XtraScheduler

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

Declaration

void DeleteExceptions()
Sub 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