IRecurrencePattern
A version of this page is also available for
4/8/2010
The IRecurrencePattern interface provides read-write access to recurrence pattern objects associated with Task and Appointment items. You can get an IRecurrencePattern object by calling either ITask::GetRecurrencePattern or IAppointment::GetRecurrencePattern
Methods in Vtable Order
IRecurrencePattern methods | Description |
---|---|
Gets an integer value that represents the recurrence type for an appointment or task. |
|
Gets a Variant time date object that represents the start date of the recurrence pattern. |
|
Gets a Variant time date object that represents the start time for a recurring appointment. |
|
Gets a Variant time date object that represents the end of a recurring appointment. |
|
Gets a Variant time date object that represents the end date of the recurrence. |
|
Gets a Boolean value indicating whether the recurrence has an end date. |
|
Gets an integer value indicating the number of occurrences in the recurrence pattern. |
|
Gets the number of units between occurrences (days, weeks, months), from 1 to 999. |
|
Gets a bitmask that represents the combination of OlDaysOfWeek enumeration values that make up a recurrence pattern. |
|
Gets a value between 1 and 31, inclusive, that represents a recurrence pattern expressed as a day of the month. |
|
Gets an integer value between 1 and 5, inclusive, that represents a recurrence pattern expressed as a week of the month. |
|
Gets the length of a recurring appointment. |
|
Gets an integer value between 1 and 12, inclusive, that represents a recurrence pattern expressed as a month of the year. |
|
Sets the type of recurrence for Appointment and Task items. |
|
Sets the start date of the recurrence pattern. |
|
Sets the start time of the recurrence pattern. |
|
Sets the end time of the recurrence pattern. |
|
Sets the end date of the recurrence pattern. |
|
Sets a Boolean value indicating whether the recurrence pattern has an end date. |
|
Sets the number of occurrences in the recurrence pattern. |
|
Sets the time span between occurrences (days, weeks, months), from 1 to 999. |
|
Sets a bitmask that represents the combination of OlDaysOfWeek enumeration values that make up a recurrence pattern. |
|
Sets a recurrence pattern expressed as a day of the month. |
|
Sets the duration of a recurrence pattern expressed as a day of the week, a week of the month, or a month of the year. |
|
Sets the duration of a recurrence pattern expressed as a day of the week, a week of the month, or a month of the year. |
|
Sets a recurrence pattern expressed as a month of the year. |
|
Gets a collection of exceptions that are associated with a recurring appointment object. |
|
Gets the main Outlook Mobile IPOutlookApp object. |
|
Gets a specific instance of an appointment for a specific date. |
Remarks
When you create a recurring Appointment, the IRecurrencePattern object gets the StartTime, Duration, and EndTime values from the appointment, so you do not need to set them. If you do set these values, your settings override the Appointment settings. If you set all three properties: StartTime, Duration, and EndTime, Outlook Mobile ignores the Duration setting and defines the Appointment with the StartTime and EndTime settings. If you set any two of these properties and leave the third property undefined, then Outlook Mobile calculates the undefined setting from the other two properties.
To set the start date of an IRecurrencePattern object, use the PatternStartDate property. For Appointments, the Duration property of an IRecurrencePattern object cannot be longer than 31 days. Furthermore, the minimum period between instances of a recurring appointment cannot be less than the duration of the appointment. Otherwise, appointment instances would overlap.
Requirements
Header | pimstore.h |
Library | Pimstore.lib |
Windows Embedded CE | Windows CE 2.0 and later |
Windows Mobile | Windows Mobile Version 5.0 and later |
See Also
Tasks
Creating a Recurring Appointment
Reference
Pocket Outlook Object Model Interfaces