Search
ValidateOccurrenceEventArgs.RecurrenceIndex Property
See Also
 






Gets the zero-based index of the occurrence being validated.

Namespace: MindFusion.Scheduling
Assembly: MindFusion.Scheduling

 Syntax

C#  Copy Code

public int RecurrenceIndex { get; }

Visual Basic  Copy Code

Public ReadOnly Property RecurrenceIndex As Integer

 Property Value

A non-negative integer value.

 Remarks

At the time the item is being validated, it is still not marked as occurrence and its Item.OccurrenceIndex property returns -1. Therefore you need to use this property to obtain the actual recurrence index of the item. This is done to allow you to change any of the item's properties without forcing it to become an exception.

 See Also