Back to Devexpress

SchedulerControl.GetOccurrencesAndExceptions(Object, DateTimeRange) Method

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

latest2.0 KB
Original Source

SchedulerControl.GetOccurrencesAndExceptions(Object, 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(
    object recurrenceInfoId,
    DateTimeRange interval
)
vb
Public Function GetOccurrencesAndExceptions(
    recurrenceInfoId As Object,
    interval As DateTimeRange
) As IEnumerable(Of AppointmentItem)

Parameters

NameTypeDescription
recurrenceInfoIdObject

The identifier of the recurrence info.

| | 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