Skip to main content

AppointmentItem.FindException(Int32) Method

OBSOLETE

Use the following API instead: scheduler.GetOccurrenceOrException(AppointmentItem pattern, int recurrenceIndex)

Returns an appointment that is an exception in the recurring series at the specified index.

Namespace: DevExpress.Xpf.Scheduling

Assembly: DevExpress.Xpf.Scheduling.v24.1.dll

NuGet Package: DevExpress.Wpf.Scheduling

Declaration

[Obsolete("Use the following API instead: scheduler.GetOccurrenceOrException(AppointmentItem pattern, int recurrenceIndex)", false)]
public AppointmentItem FindException(
    int recurrenceIndex
)

Parameters

Name Type Description
recurrenceIndex Int32

A integer that is the index in a recurrence series.

Returns

Type Description
AppointmentItem

An AppointmentItem object that is not a regular appointment in a recurring chain (changed or deleted occurrence).

Remarks

If the appointment in the recurrence series with the specified index is not an exception, or the specified index exceeds the number of appointments in a series, the FindException returns null.

See Also