Skip to main content
A newer version of this page is available. .

Appointment.DeleteExceptions() Method

Removes changed and deleted occurrences for the current pattern appointment.

Namespace: DevExpress.XtraScheduler

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

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.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the DeleteExceptions() method.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also