Platform SDK: Exchange Server |
The DayOfWeekMask property returns a combination of flags that indicates which days of the week are valid for a recurrence pattern.
RecurringAppointment, RecurringEvent, and RecurringTask objects
Long
Read/write
The DayOfWeekMask property can have one of the following values.
Value | Description |
---|---|
0 | Sunday (default) |
1 | Monday |
2 | Tuesday |
3 | Wednesday |
4 | Thursday |
5 | Friday |
6 | Saturday |
For example, to define an appointment that occurs every week on Monday and Wednesday, set bits 1 and 3 of this property. Bits 7 through 31 are ignored.
This property can also be used for yearly recurrences that specify instances in terms of months.