RecurrenceType Property (RecurrencePattern Object)

RecurrenceType Property (RecurrencePattern Object)

The RecurrenceType property returns or sets the recurrence unit and the frequency with which the appointment recurs. Read/write.

Syntax

objRecurPatt.RecurrenceType

Data Type

Long

Remarks

The RecurrenceType property determines the periodicity with which the AppointmentItem is to recur. It can have exactly one of the following values:

RecurrenceType setting

Decimal value

Other properties used in conjunction with this setting

CdoRecurTypeDaily

0

Interval

CdoRecurTypeWeekly

1

DayOfWeekMask Interval

CdoRecurTypeMonthly

2

DayOfMonth Interval

CdoRecurTypeMonthlyNth

3

DayOfWeekMask Instance Interval

CdoRecurTypeYearly

5

DayOfMonth Interval MonthOfYear

CdoRecurTypeYearlyNth

6

DayOfWeekMask Instance Interval MonthOfYear

RecurrenceType is always valid on a newly created RecurrencePattern object and defaults to CdoRecurTypeWeekly.

If you instantiate one or more individual recurrences and subsequently delete them all, Microsoft® Outlook® deletes the RecurrencePattern object. If CDO determines that your active calendar store is Outlook, it also deletes the RecurrencePattern object in this case.

Changes you make to properties on a RecurrencePattern object take effect when you call the underlying appointment's Send or Update method.

See Also

Concepts

RecurrencePattern Object