SchedulerControl.GetOccurrenceOrException(AppointmentItem, Int32) Method

Returns an occurrence or exception under the specified recurrence index from the recurring chain the given pattern specifies.

Namespace: DevExpress.Xpf.Scheduling

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


public AppointmentItem GetOccurrenceOrException(
    AppointmentItem pattern,
    int recurrenceIndex
Public Function GetOccurrenceOrException(
    pattern As AppointmentItem,
    recurrenceIndex As Integer
) As AppointmentItem


Name Type Description
pattern AppointmentItem

The pattern whose occurrence or exception is requested.

recurrenceIndex Int32

The recurring index of the occurrence or exception.


Type Description

The DevExpress.Xpf.Scheduling.AppointmentItem that is the first occurrence or exception that satisfies the specified condition.


Use the GetOccurrencesAndExceptions method to return all occurrences and exceptions to the specified pattern.

See Also