Appointment.HasExceptions Property

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

Namespace: DevExpress.XtraScheduler

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

Declaration

bool HasExceptions { get; }
ReadOnly Property HasExceptions As Boolean

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