RecurrencePattern.Interval Property

Definition

Returns or sets an Integer (int in C#) value specifying the number of units of a given recurrence type between occurrences. Read/write.

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

Property Value

Remarks

The Interval property must be set before setting PatternEndDate.

For example, setting the Interval property to 2 and the RecurrenceType property to olRecursWeekly would cause the pattern to occur every second week.

When RecurrenceType is set to olRecursYearNth or olRecursYear, the Interval property indicates the number of years between occurrences. For example, Interval equals 1 indicates the recurrence is every year, Interval equals 2 indicates the recurrence is every 2 years, and so on.

Applies to