Gets or sets the recurrence's duration.
A TimeSpan value that specifies the duration of the recurrence.
If the RecurrenceInfo.Range property is set to the RecurrenceRange.EndByDate value, the Duration property can be used together with the RecurrenceInfo.Start property to define the range of recurrence - the period of time in which the appointment reoccurs. The Duration property specifies the recurrence's duration.
Note that when defining the range of recurrence via code, the RecurrenceInfo.End property can be used instead of the Duration property. These two properties are interdependent, so changing the value of the Duration property affects the RecurrenceInfo.End property's value and vice versa.