AppointmentItem.SetExceptionRecurrenceIndex(Int32) Method

Obsolete. Sets recurrence index to the appointment exception.

Namespace: DevExpress.Xpf.Scheduling

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

Declaration

[Obsolete("Use the following API instead: appointmentItem.SetPatternReference(AppointmentItem pattern, int recurrenceIndex)", false)]
public void SetExceptionRecurrenceIndex(
    int index
)
<Obsolete("Use the following API instead: appointmentItem.SetPatternReference(AppointmentItem pattern, int recurrenceIndex)", False)>
Public Sub SetExceptionRecurrenceIndex(
    index As Integer
)

Parameters

Name Type Description
index Int32

An integer that specifies the index.

Remarks

Use the SetExceptionRecurrenceIndex method to change the SchedulerItemBase.RecurrenceIndex value. If an appointment is not an exception in a recurring series, the method does nothing. If an appointment is not contained in the SchedulerControl.AppointmentItems collection, a System.InvalidOperationException is thrown.

See Also