Back to Devexpress

SchedulerControl.GetOccurrencesAndExceptions(AppointmentItem, DateTimeRange) Method

wpf-devexpress-dot-xpf-dot-scheduling-dot-schedulercontrol-dot-getoccurrencesandexceptions-x28-devexpress-dot-xpf-dot-scheduling-dot-appointmentitem-devexpress-dot-mvvm-dot-datetimerange-x29.md

latest2.0 KB
Original Source

SchedulerControl.GetOccurrencesAndExceptions(AppointmentItem, DateTimeRange) Method

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.v25.2.dll

NuGet Package : DevExpress.Wpf.Scheduling

Declaration

csharp
public IEnumerable<AppointmentItem> GetOccurrencesAndExceptions(
    AppointmentItem pattern,
    DateTimeRange interval
)
vb
Public Function GetOccurrencesAndExceptions(
    pattern As AppointmentItem,
    interval As DateTimeRange
) As IEnumerable(Of AppointmentItem)

Parameters

NameTypeDescription
patternAppointmentItem

The pattern whose occurrences and exceptions are requested.

| | interval | DateTimeRange |

The date-time range containing all returned occurrences and exceptions.

|

Returns

TypeDescription
IEnumerable<AppointmentItem>

A collection of occurrences and exceptions to the specified pattern.

|

See Also

SchedulerControl Class

SchedulerControl Members

DevExpress.Xpf.Scheduling Namespace