SchedulerControl.GetAppointmentsAsync(DateTimeOffset, DateTimeOffset) Method
Retrieves the collection of appointments that fall within the specified time interval.
Namespace: DevExpress.WinUI.Scheduler
Assembly: DevExpress.WinUI.Scheduler.v23.2.dll
NuGet Package: DevExpress.WinUI
#Declaration
public Task<IEnumerable<AppointmentItem>> GetAppointmentsAsync(
DateTimeOffset queryStart,
DateTimeOffset queryEnd
)
#Parameters
Name | Type | Description |
---|---|---|
query |
Date |
A System. |
query |
Date |
A System. |
#Returns
Type | Description |
---|---|
Task<IEnumerable<Appointment |
A collection of appointments which belong to the specified time interval. |
#Remarks
The GetAppointmentsAsync method returns standard appointments and occurrences (appointments created based upon recurring pattern appointments), that belong to the specified time interval. If an appointment’s time interval partially overlaps the specified interval, this appointment is also included in the collection returned.