AppointmentItem.DeleteExceptions() Method
OBSOLETE
Use the following API instead: var exceptions = scheduler.
Removes changed and deleted occurrences in the recurring series.
Namespace: DevExpress.Xpf.Scheduling
Assembly: DevExpress.Xpf.Scheduling.v24.2.dll
NuGet Package: DevExpress.Wpf.Scheduling
#Declaration
[Obsolete("Use the following API instead: var exceptions = scheduler.GetExceptions(appointment).ToList().ForEach(x => scheduler.AppointmentItems.Remove(x))", false)]
public 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 SchedulerControl.GetPattern method to obtain a pattern appointment.
Important
If the current appointment is not a pattern (its Appointment