Back to Devexpress

SchedulerDataStorage.GetOccurrencesAndExceptions(AppointmentItem, DateTimeRange) Method

maui-devexpress-dot-maui-dot-scheduler-dot-schedulerdatastorage-dot-getoccurrencesandexceptions-x28-devexpress-dot-maui-dot-scheduler-dot-appointmentitem-devexpress-dot-maui-dot-scheduler-dot-datetimerange-x29.md

latest1.6 KB
Original Source

SchedulerDataStorage.GetOccurrencesAndExceptions(AppointmentItem, DateTimeRange) Method

Returns all occurrences and exceptions to the specified pattern that are within the given date-time interval.

Namespace : DevExpress.Maui.Scheduler

Assembly : DevExpress.Maui.Scheduler.dll

NuGet Package : DevExpress.Maui.Scheduler

Declaration

csharp
public IEnumerable<AppointmentItem> GetOccurrencesAndExceptions(
    AppointmentItem pattern,
    DateTimeRange interval
)

Parameters

NameTypeDescription
patternAppointmentItem

The pattern whose exceptions should be returned.

| | interval | DateTimeRange |

The date-time range within which all returned occurrences and exceptions are.

|

Returns

TypeDescription
IEnumerable<AppointmentItem>

All occurrences and exceptions to pattern within the specified date-time range.

|

See Also

SchedulerDataStorage Class

SchedulerDataStorage Members

DevExpress.Maui.Scheduler Namespace