SchedulerControl.GetOccurrencesAndExceptions(AppointmentItem, DateTimeRange) Method
In This Article
Returns all occurrences and exceptions to the specified pattern that are within the given date-time interval.
Namespace: DevExpress.Xpf.Scheduling
Assembly: DevExpress.Xpf.Scheduling.v24.2.dll
NuGet Package: DevExpress.Wpf.Scheduling
#Declaration
public IEnumerable<AppointmentItem> GetOccurrencesAndExceptions(
AppointmentItem pattern,
DateTimeRange interval
)
#Parameters
Name | Type | Description |
---|---|---|
pattern | Appointment |
The pattern whose occurrences and exceptions are requested. |
interval | Date |
The date-time range containing all returned occurrences and exceptions. |
#Returns
Type | Description |
---|---|
IEnumerable<Appointment |
A collection of occurrences and exceptions to the specified pattern. |
See Also