ISchedulerStorageBase.GetAppointments(TimeIntervalCollection) Method
Retrieves the collection of appointments that fall within the specified time intervals.
Namespace: DevExpress.XtraScheduler
Assembly: DevExpress.XtraScheduler.v24.2.Core.dll
NuGet Package: DevExpress.Scheduler.Core
#Declaration
AppointmentBaseCollection GetAppointments(
TimeIntervalCollection intervals
)
#Parameters
Name | Type | Description |
---|---|---|
intervals | Time |
A Time |
#Returns
Type | Description |
---|---|
Appointment |
An Appointment |
#Remarks
The GetAppointments method returns appointments of any type (regular appointments, recurring appointments and exceptions) that belong to the specified time intervals. If an appointment’s time interval partially overlaps the specified interval, this appointment is also included in the returned collection.
The GetAppointments method gets appointments contained in the storage and passed through filters. Appointment filters are the AppointmentStorageBase.Filter property and the SchedulerStorageBase.FilterAppointment event.