OlDaysOfWeek
The OlDaysOfWeek enumeration identifies the days used in an IRecurrencePattern object.
Syntax
enum OlDaysOfWeek {
olSunday = 1,
olMonday = 2,
olTuesday = 4,
olWednesday = 8,
olThursday = 16,
olFriday = 32,
olSaturday = 64,
};
Elements
- olSunday
A weekly recurrence every Sunday. - olMonday
A weekly recurrence every Monday. - olTuesday
A weekly recurrence every Tuesday. - olWednesday
A weekly recurrence every Wednesday. - olThursday
A weekly recurrence every Thursday. - olFriday
A weekly recurrence every Friday. - olSaturday
A weekly recurrence every Saturday.
Remarks
The values in this enumeration are in a sequence that doubles between values. This allows you to specify combinations of multiple values by combining individual values with the bitwise OR. For example, the value 6 is interpreted to mean both 2 and 4 together.
Code Example
The following code example demonstrates how to set a weekly recurrence occuring every Monday and Tuesday.
Note To make the following code example easier to read, security checking and error handling are not included. This code example should not be used in a release configuration unless it has been modified to include them.
hr = pRec->put_DayOfWeekMask(olMonday | olTuesday);
Requirements
Pocket PC: Pocket PC 2000 and later
Smartphone: Smartphone 2002 and later
OS Versions: Windows CE 3.0 and later
Header: pimstore.h
Library: pimstore.lib
See Also
Pocket Outlook Object Model API Interfaces | Pocket Outlook Object Model API Enumerations
Send Feedback on this topic to the authors