Skip to main content

RecurrenceInfo(DateTime, Int32) Constructor

Initializes a new instance of the RecurrenceInfo class with the specified start date and count value.

Namespace: DevExpress.XtraScheduler

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

NuGet Package: DevExpress.Scheduler.Core

Declaration

public RecurrenceInfo(
    DateTime start,
    int occurrenceCount
)

Parameters

Name Type Description
start DateTime

A DateTime value that specifies the start date of the recurrence. This value is assigned to the RecurrenceInfo.Start property.

occurrenceCount Int32

An integer value that specifies the count value of the recurrence. This value is assigned to the RecurrenceInfo.OccurrenceCount property.

Remarks

In this case the RecurrenceInfo.Range property will be set to RecurrenceRange.OccurrenceCount, the RecurrenceInfo.End property is set to the RecurrenceInfo.Start value, and the RecurrenceInfo.Month and RecurrenceInfo.DayNumber properties will be set to the month and day specified by the RecurrenceInfo.Start property, respectively.

Note: The occurenceCount should be greater than 0.

See Also