Important: |
---|
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist. |
The IRecurrencePatterninterface provides read-write access to recurrence pattern objects associated with Task and Appointment items. You can get an IRecurrencePatternobject by calling either ITask::GetRecurrencePatternor 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 OlDaysOfWeekenumeration 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 OlDaysOfWeekenumeration 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 IPOutlookAppobject. |
|
Gets a specific instance of an appointment for a specific date. |
Remarks
When you create a recurring Appointment, the IRecurrencePatternobject gets the StartTime, Duration, and EndTimevalues 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 Durationsetting and defines the Appointment with the StartTimeand EndTimesettings. 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 IRecurrencePatternobject, use the PatternStartDateproperty. For Appointments, the Durationproperty of an IRecurrencePatternobject 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 |