Gets or sets a set of days in the week during which an event should occur.
[Visual Basic] Public Property DaysOfWeek As DaysOfWeek [C#] public DaysOfWeek DaysOfWeek {get; set;} [C++] public: __property DaysOfWeek get_DaysOfWeek(); public: __property void set_DaysOfWeek(DaysOfWeek); [JScript] public function get DaysOfWeek() : DaysOfWeek; public function set DaysOfWeek(DaysOfWeek);
One of the DaysOfWeek values. The default is All.
Exception Type | Condition |
---|---|
ArgumentException | The value is not a valid DaysOfWeek value. |
MonthlyPattern Class | MonthlyPattern Members | System.Timers Namespace | DaysOfWeek