Adds a WeeklyPattern, given the sets of days in the week, and the weekly interval.
[Visual Basic] Overloads Public Function AddWeeklyPattern( _ ByVal daysOfWeek As DaysOfWeek, _ ByVal everyNthWeek As Integer _ ) As WeeklyPattern [C#] public WeeklyPattern AddWeeklyPattern( DaysOfWeek daysOfWeek, int everyNthWeek ); [C++] public: WeeklyPattern* AddWeeklyPattern( DaysOfWeek daysOfWeek, int everyNthWeek ); [JScript] public function AddWeeklyPattern( daysOfWeek : DaysOfWeek, everyNthWeek : int ) : WeeklyPattern;
The WeeklyPattern.
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, "WeeklyPattern3". 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.AddWeeklyPattern Overload List | DaysOfWeek | WeeklyPattern