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

Appointment.HasExceptions Property

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

Namespace: DevExpress.XtraScheduler

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

Declaration

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 recurrence series for the current appointment pattern. If exceptional appointments have not been created for the pattern, the HasExceptions property will return false.

If the current appointment is not a patten (its Appointment.Type is not AppointmentType.Pattern), the HasExceptions returns null .

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

See Also