Retrieves the collection of appointments that are in the specified time interval.
public virtual AppointmentBaseCollection GetAppointments( TimeInterval interval )
Public Overridable Function GetAppointments( interval As TimeInterval ) As AppointmentBaseCollection
A TimeInterval object specifying the required time interval.
An AppointmentBaseCollection object representing the collection of appointments which belong to the specified time interval. Note, that time intervals bounds are excluded in this case.
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.
If an appointment's time interval partially overlaps the specified interval, this appointment is also included in the collection returned.
Note that if the AppointmentBaseCollection is previously sorted by the Appointment.Start property, then you should use the AppointmentBaseCollection.GetAppointmentsFromSortedCollection method, which works much more faster then GetAppointments.