windowsforms-devexpress-dot-xtrascheduler-dot-ischedulerstorage.md
Gets a storage object that contains appointments.
Namespace : DevExpress.XtraScheduler
Assembly : DevExpress.XtraScheduler.v25.2.dll
NuGet Package : DevExpress.Win.Scheduler
IAppointmentStorage Appointments { get; }
ReadOnly Property Appointments As IAppointmentStorage
| Type | Description |
|---|---|
| IAppointmentStorage |
An IAppointmentStorage object that is the storage for appointments.
|
The following code snippets (auto-collected from DevExpress Examples) contain references to the Appointments property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.
protected IAppointmentStorage Appointments {
get { return control.DataStorage.Appointments; }
}
winforms-scheduler-serialize-deserialize-appointments/CS/DXApplication1/SerializationHelper.cs#L35
{
Appointment objAppointment = AppointmentXmlPersistenceHelper.ObjectFromXml(scheduler.DataStorage.Appointments, xmlAppointment);
scheduler.DataStorage.Appointments.Add(objAppointment);
winforms-scheduler-sync-with-ews/CS/EWSSyncExample/ExchangeExampleForm.cs#L42
foreach(var apt in apts)
synchronizer.ExchangeToScheduler(schedulerControl1.DataStorage.Appointments, apt, true);
XtraMessageBox.Show("Imported");
Get
Return control.DataStorage.Appointments
End Get
winforms-scheduler-serialize-deserialize-appointments/VB/DXApplication1/SerializationHelper.vb#L27
For Each xmlAppointment As String In serializedAppointments
Dim objAppointment As Appointment = AppointmentXmlPersistenceHelper.ObjectFromXml(scheduler.DataStorage.Appointments, xmlAppointment)
scheduler.DataStorage.Appointments.Add(objAppointment)
winforms-scheduler-sync-with-ews/VB/EWSSyncExample/ExchangeExampleForm.vb#L44
For Each apt In apts
synchronizer.ExchangeToScheduler(schedulerControl1.DataStorage.Appointments, apt, True)
Next apt
See Also