DayOfTheWeek Enum

Definition

Specifies the day of the week.

public enum class DayOfTheWeek
public enum DayOfTheWeek
Public Enum DayOfTheWeek
Inheritance
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 through Friday).

WeekendDay 9

Any weekend day (Saturday or Sunday).

Remarks

The DayOfTheWeek enumeration value is the same as the T:System.DayOfWeekSunday through Saturday). These values can be safely cast between the two enumerations. The special days of the week (Day, Weekday, and WeekendDay) are used for monthly and yearly recurrences and cannot be cast to T:System.DayOfWeek

Applies to