Class RecurrencePattern (Outlook VBA)

The class RecurrencePattern represents the pattern of incidence of recurring appointments and tasks for the associated AppointmentItem and TaskItem object.

The classes AppointmentItem and TaskItem. give access to class RecurrencePattern


Dim rpn as RecurrencePattern
Set rpn = Session.CreateSharingItem.Move.Items(1).GetRecurrencePattern()

Methods

GetOccurrence - Returns a specific instance of the AppointmentItem object on the specified date.

Properties

Class returns an OlObjectClass constant indicating the object's class.

DayOfMonth returns or sets a Long indicating the day of the month on which the recurring appointment or task occurs.

DayOfWeekMask returns or sets an OlDaysOfWeek constant representing the mask for the days of the week on which the recurring appointment or task occurs.

Duration returns or sets a Long indicating the duration (in minutes) of the RecurrencePattern.

EndTime returns or sets a Date indicating the end time for a recurrence pattern.

Exceptions returns the Exceptions collection for a specified series of recurring appointments.

Instance returns or sets a Long specifying the count for which the recurrence pattern is valid for a given interval.

Interval returns or sets a Long specifying the number of units of a given recurrence type between occurrences.

MonthOfYear returns or sets a Long indicating which month of the year is valid for the specified recurrence pattern.

NoEndDate returns a Boolean value that indicates whether the recurrence pattern has no end date.

Occurrences returns or sets a Long indicating the number of occurrences of the recurrence pattern.

PatternEndDate returns or sets a Date indicating the end date for the recurrence pattern.

PatternStartDate returns or sets a Date indicating the start date for the recurrence pattern.

RecurrenceType returns or sets an OlRecurrenceType constant specifying the frequency of occurrences for the recurrence pattern.

Regenerate returns a Boolean that indicates True if the task should be regenerated following this pass through the recurrence pattern.

Session returns the NameSpace object for the current session.

StartTime returns or sets a Date indicating the start time for a recurrence pattern.

AppointmentItem - Represents a meeting, a one-time appointment, or a recurring appointment or meeting in the Calendar folder.

Exceptions - Contains a group of Exception objects.

NameSpace - Represents an abstract root object for any data source.