CalendarBase.GetAppointmentsAsync(DateTimeOffset, DateTimeOffset) Method
Retrieves the collection of appointments that fall within the specified time interval.
Namespace: DevExpress.UI.Xaml.Scheduler
Assembly: DevExpress.UI.Xaml.Scheduler.v21.2.dll
NuGet Package: DevExpress.Uwp.Controls
Declaration
public abstract Task<IEnumerable<AppointmentItem>> GetAppointmentsAsync(
DateTimeOffset queryStart,
DateTimeOffset queryEnd
)
Parameters
Name | Type | Description |
---|---|---|
queryStart | DateTimeOffset | A System.DateTimeOffset value that specifies the start time of the required time interval. |
queryEnd | DateTimeOffset | A System.DateTimeOffset value that specifies the end time of the required time interval. |
Returns
Type | Description |
---|---|
Task<IEnumerable<AppointmentItem>> | 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.