RecurrencePattern.Instance Property

Definition

Returns or sets an Integer (int in C#) value specifying the count for which the recurrence pattern is valid for a given interval. Read/write.

public:
 property int Instance { int get(); void set(int value); };
public int Instance { get; set; }
Public Property Instance As Integer

Property Value

Remarks

This property is only valid for recurrences of the olRecursMonthNth and olRecursYearNth type and allows the definition of a recurrence pattern that is only valid for the Nth occurrence, such as "the 2nd Sunday in March" pattern. The count is set numerically: 1 for the first, 2 for the second, and so on through 5 for the last. Values greater than 5 will generate errors when the pattern is saved.

Applies to