NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

MonthlyPattern Constructor

Initializes a new instance of the MonthlyPattern class.

Overload List

Initializes a new default instance of the MonthlyPattern class.

[Visual Basic] Overloads Public Sub New()
[C#] public MonthlyPattern();
[C++] public: MonthlyPattern();
[JScript] public function MonthlyPattern();

Initializes a new instance of the MonthlyPattern class, given a set of days in the week, a set of occurrences in a month, a set of months in a year.

[Visual Basic] Overloads Public Sub New(DaysOfWeek, OccurrenceInMonth, Months)
[C#] public MonthlyPattern(DaysOfWeek, OccurrenceInMonth, Months);
[C++] public: MonthlyPattern(DaysOfWeek, OccurrenceInMonth, Months);
[JScript] public function MonthlyPattern(DaysOfWeek, OccurrenceInMonth, Months);

Initializes a new instance of the MonthlyPattern class, with a set of days in the week, a set of occurrences in a month, a set of months in a year, and the patternName specified.

[Visual Basic] Overloads Public Sub New(DaysOfWeek, OccurrenceInMonth, Months, String)
[C#] public MonthlyPattern(DaysOfWeek, OccurrenceInMonth, Months, String);
[C++] public: MonthlyPattern(DaysOfWeek, OccurrenceInMonth, Months, String);
[JScript] public function MonthlyPattern(DaysOfWeek, OccurrenceInMonth, Months, String);

Initializes a new instance of the MonthlyPattern class, with a set of days in the week, a set of recurrence patterns in a month, a set of months in a year, the patternName, the time of day to start and stop the recurrence pattern, and the event recurrence pattern repetition rate specified.

[Visual Basic] Overloads Public Sub New(DaysOfWeek, OccurrenceInMonth, Months, String, TimeSpan, TimeSpan, TimeSpan)
[C#] public MonthlyPattern(DaysOfWeek, OccurrenceInMonth, Months, String, TimeSpan, TimeSpan, TimeSpan);
[C++] public: MonthlyPattern(DaysOfWeek, OccurrenceInMonth, Months, String, TimeSpan, TimeSpan, TimeSpan);
[JScript] public function MonthlyPattern(DaysOfWeek, OccurrenceInMonth, Months, String, TimeSpan, TimeSpan, TimeSpan);

Initializes a new instance of the MonthlyPattern class, with a set of days in the week, a set of recurrence patterns in a month, a set of months in a year, the patternName, the time of day to start and stop the recurrence pattern, the event recurrence pattern repetition rate, and the dates when the event recurrence pattern starts and stops being valid specified.

[Visual Basic] Overloads Public Sub New(DaysOfWeek, OccurrenceInMonth, Months, String, TimeSpan, TimeSpan, TimeSpan, DateTime, DateTime)
[C#] public MonthlyPattern(DaysOfWeek, OccurrenceInMonth, Months, String, TimeSpan, TimeSpan, TimeSpan, DateTime, DateTime);
[C++] public: MonthlyPattern(DaysOfWeek, OccurrenceInMonth, Months, String, TimeSpan, TimeSpan, TimeSpan, DateTime, DateTime);
[JScript] public function MonthlyPattern(DaysOfWeek, OccurrenceInMonth, Months, String, TimeSpan, TimeSpan, TimeSpan, DateTime, DateTime);

See Also

MonthlyPattern Class | MonthlyPattern Members | System.Timers Namespace