Specifies the days of the week used in a recurrence pattern.
Assembly: Microsoft.WindowsMobile.PocketOutlook (in microsoft.windowsmobile.pocketoutlook.dll)
[FlagsAttribute] public enum DaysOfWeek
'Declaration <FlagsAttribute> _ Public Enumeration DaysOfWeek
|Friday||The item recurs daily on a Friday. Value = 32.|
|Monday||The item recurs daily on a Monday. Value = 2.|
|Saturday||The item recurs daily on a Saturday. Value = 64.|
|Sunday||The item recurs daily on a Sunday. Value = 1.|
|Thursday||The item recurs daily on a Thursday. Value = 16.|
|Tuesday||The item recurs daily on a Tuesday. Value = 4.|
|Wednesday||The item recurs daily on a Wednesday. Value = 8.|
This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.
The following code example demonstrates how to set a weekly recurrence occuring every Monday and Tuesday.
recurrence.DaysOfWeekMask = DaysOfWeek.Monday | DaysOfWeek.Tuesday;