Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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.2.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