Enum DayOfTheWeek
- Namespace
- Microsoft.Exchange.WebServices.Data
- Assembly
- Microsoft.Exchange.WebServices.dll
Specifies the day of the week.
public enum DayOfTheWeek
Fields
Day = 7Any day of the week
Friday = 5Friday
Monday = 1Monday
Saturday = 6Saturday
Sunday = 0Sunday
Thursday = 4Thursday
Tuesday = 2Tuesday
Wednesday = 3Wednesday
Weekday = 8Any day of the usual business week (Monday-Friday)
WeekendDay = 9Any 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.