Skip to main content

OccurrenceCalculator.CalcLastOccurrenceIndex(Appointment) Method

Calculates the index of the last element in the occurrence series.

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v24.1.Core.dll

NuGet Package: DevExpress.Scheduler.Core

Declaration

public int CalcLastOccurrenceIndex(
    Appointment pattern
)

Parameters

Name Type Description
pattern Appointment

An Appointment object that is the pattern for calculating the occurrence series.

Returns

Type Description
Int32

An integer that is the index of the last element in the series.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the CalcLastOccurrenceIndex(Appointment) method.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also