Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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

NuGet Package: DevExpress.Wpf.Scheduling

#Declaration

public IEnumerable<AppointmentItem> GetOccurrencesAndExceptions(
    object recurrenceInfoId,
    DateTimeRange interval
)

#Parameters

Name Type Description
recurrenceInfoId Object

The identifier of the recurrence info.

interval DateTimeRange

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

#Returns

Type Description
IEnumerable<AppointmentItem>

A collection of occurrences and exceptions to the specified pattern.

See Also