Enum DayOfTheWeek
- Namespace
- Microsoft.Exchange.WebServices.Data
- Assembly
- Microsoft.Exchange.WebServices.dll
Specifies the day of the week.
public enum DayOfTheWeek
Fields
Day = 7
Any day of the week
Friday = 5
Friday
Monday = 1
Monday
Saturday = 6
Saturday
Sunday = 0
Sunday
Thursday = 4
Thursday
Tuesday = 2
Tuesday
Wednesday = 3
Wednesday
Weekday = 8
Any day of the usual business week (Monday-Friday)
WeekendDay = 9
Any weekend day (Saturday or Sunday)
Remarks
For the standard days of the week (Sunday, Monday...) the DayOfTheWeek enum value is the same as the System.DayOfWeek enum type. These values can be safely cast between the two enum types. The special days of the week (Day, Weekday and WeekendDay) are used for monthly and yearly recurrences and cannot be cast to System.DayOfWeek values.