IRecurrenceInfo.OccurrenceCount Property

Gets or sets how many times the appointment occurs.

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v20.2.Core.dll

Declaration

int OccurrenceCount { get; set; }
Property OccurrenceCount As Integer

Property Value

Type Description
Int32

An integer value that specifies the number of occurrences.

Remarks

If the IRecurrenceInfo.Range property is set to the RecurrenceRange.OccurrenceCount value, the OccurrenceCount property can be used together with the RecurrenceInfo.Start property to define the range of recurrence - the period of time in which the appointment occurs. In this case, the range of recurrence can be represented by the number of occurrences that should elapse until the recurrence is no longer in effect. The OccurrenceCount property specifies the number of occurrences.

The value of the OccurrenceCount property is ignored if the IRecurrenceInfo.Range property is set to either the RecurrenceRange.EndByDate or RecurrenceRange.NoEndDate value.

See Also