Share via


RecurrencePattern.Interval Property

Returns or sets an Integer (int in C#) value specifying the number of units of a given recurrence type between occurrences. For example, setting the Interval property to 2 and the RecurrenceType property to Weekly would cause the pattern to occur every second week. Read/write.

Namespace:  Microsoft.Office.Interop.Outlook
Assembly:  Microsoft.Office.Interop.Outlook (in Microsoft.Office.Interop.Outlook.dll)

Syntax

'Declaration
Property Interval As Integer
    Get
    Set
'Usage
Dim instance As RecurrencePattern
Dim value As Integer

value = instance.Interval

instance.Interval = value
int Interval { get; set; }

Property Value

Type: System.Int32

Remarks

The Interval property must be set before setting PatternEndDate. Also, the Interval property is not valid for yearly recurrence patterns.

See Also

Reference

RecurrencePattern Interface

RecurrencePattern Members

Microsoft.Office.Interop.Outlook Namespace