Adds a MonthlyPattern, given the set of days in a week, the set of occurrence numbers in a month, and the set of months in a year.
[Visual Basic] Overloads Public Function AddMonthlyPattern( _ ByVal daysOfWeek As DaysOfWeek, _ ByVal recurrencePatternsInMonth As OccurrenceInMonth, _ ByVal monthsOfYear As Months _ ) As MonthlyPattern [C#] public MonthlyPattern AddMonthlyPattern( DaysOfWeek daysOfWeek, OccurrenceInMonth recurrencePatternsInMonth, Months monthsOfYear ); [C++] public: MonthlyPattern* AddMonthlyPattern( DaysOfWeek daysOfWeek, OccurrenceInMonth recurrencePatternsInMonth, Months monthsOfYear ); [JScript] public function AddMonthlyPattern( daysOfWeek : DaysOfWeek, recurrencePatternsInMonth : OccurrenceInMonth, monthsOfYear : Months ) : MonthlyPattern;
The MonthlyPattern.
When a pattern is added, the next scheduled time is automatically recalculated.
When the name of the pattern is not specified, the name becomes the type of pattern with a unique number appended. For example, "MonthlyPattern3". The properties of the pattern that are not set through parameters are set to the pattern type's default values.
RecurrencePatterns Class | RecurrencePatterns Members | System.Timers Namespace | RecurrencePatterns.AddMonthlyPattern Overload List | DaysOfWeek | MonthlyPattern | Months | OccurrenceInMonth