Skip to main content

Appointment.HasExceptions Property

Gets whether changed or deleted occurrences have been created for the current pattern appointment.

Namespace: DevExpress.XtraScheduler

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

#Declaration

public bool HasExceptions { get; }

#Property Value

Type Description
Boolean

true if changed or deleted occurrences have been created for the current pattern appointment; otherwise, false.

#Remarks

The HasExceptions property returns true if changed or deleted occurrences exist in the chain of occurrences for the current appointment pattern. If exceptional appointments have not been created for the pattern the HasExceptions property will return false.

The Appointment.CreateException method allows you to create a changed or deleted occurrence for a pattern. To get the changed or deleted occurrences for a pattern appointment, use the Appointment.GetExceptions method.

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

See Also