All docs
V20.1
20.1
19.2
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

SchedulerControl.RestoreAppointments(IEnumerable<AppointmentItem>) Method

Reverts the specified appointments of the AppointmentType.ChangedOccurrence and AppointmentType.DeletedOccurrence types to the AppointmentType.Occurrence type.

Namespace: DevExpress.Xpf.Scheduling

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

Declaration

public bool RestoreAppointments(
    IEnumerable<AppointmentItem> appointments
)
Public Function RestoreAppointments(
    appointments As IEnumerable(Of AppointmentItem)
) As Boolean

Parameters

Name Type Description
appointments IEnumerable<AppointmentItem>

A list of DevExpress.Xpf.Scheduling.AppointmentItem objects that are changed occurrences to restore.

Returns

Type Description
Boolean

true, if the appointments could not be restored; otherwise, false.

Remarks

If the collection passed to method's appointments parameter contains appointments of any type other than the AppointmentType.ChangedOccurrence and AppointmentType.DeletedOccurrence, an exception is thrown.

The method does not restore any of the specified appointments and returns false in either of the following cases:

See Also