Gets or sets a set of days in the month during which an event should occur.
[Visual Basic] Public Property DaysOfMonth As Integer () [C#] public int[] DaysOfMonth {get; set;} [C++] public: __property int* get_DaysOfMonth(); public: __property void set_DaysOfMonth(int*[]); [JScript] public function get DaysOfMonth() : int[]; public function set DaysOfMonth(int[]);
An array of 32-bit signed integers that represents the set of days in the month during which an event should occur. For example, the integer 1 represents the first day of the month, the integer 2 represents the second day, and so on.The default property value is a single-element array whose value is initialized to 1.
Exception Type | Condition |
---|---|
ArgumentException | The value is a null reference (in Visual Basic Nothing).
-or- The index is less than 0 or greater than 31. |
DaysOfMonthPattern Class | DaysOfMonthPattern Members | System.Timers Namespace