Back to Devexpress

Appointment.RestoreOccurrence() Method

corelibraries-devexpress-dot-xtrascheduler-dot-appointment-a123981d.md

latest1.5 KB
Original Source

Appointment.RestoreOccurrence() Method

Replaces an exceptional appointment with the regular occurrence in the recurring series.

Namespace : DevExpress.XtraScheduler

Assembly : DevExpress.XtraScheduler.v25.2.Core.dll

NuGet Package : DevExpress.Scheduler.Core

Declaration

csharp
void RestoreOccurrence()
vb
Sub RestoreOccurrence

Remarks

If a regular Recurrence has been modified or deleted, the RestoreOccurrence method resets these changes and replaces the exceptional recurrence with a regular one.

Note

If the current appointment is not an occurrence (its Appointment.Type is not AppointmentType.Occurrence), then the ArgumentException exception is thrown.

See Also

Appointment Interface

Appointment Members

DevExpress.XtraScheduler Namespace