Gets or sets a value indicating the days of the week during which the 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. |
WeeklyPattern Class | WeeklyPattern Members | System.Timers Namespace