Back to Devexpress

AppointmentDataStorage.Clear() Method

windowsforms-devexpress-dot-xtrascheduler-dot-appointmentdatastorage-5bbf0618.md

latest1.9 KB
Original Source

AppointmentDataStorage.Clear() Method

Removes all appointments from this AppointmentDataStorage.

Namespace : DevExpress.XtraScheduler

Assembly : DevExpress.XtraScheduler.v25.2.dll

NuGet Package : DevExpress.Win.Scheduler

Declaration

csharp
public void Clear()
vb
Public Sub Clear

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Clear() method.

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.

winforms-scheduler-import-google-calendar/CS/GoogleCalendarExample/Form1.cs#L73

csharp
this.dxGoogleCalendarSync1.Storage = null;
this.schedulerStorage1.Appointments.Clear();
this.dxGoogleCalendarSync1.Storage = this.schedulerStorage1;

See Also

AppointmentDataStorage Class

AppointmentDataStorage Members

DevExpress.XtraScheduler Namespace