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 |
|
CdoRecurTypeWeekly |
1 |
|
CdoRecurTypeMonthly |
2 |
|
CdoRecurTypeMonthlyNth |
3 |
|
CdoRecurTypeYearly |
5 |
|
CdoRecurTypeYearlyNth |
6 |
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.