Click or drag to resize

MonthlyRecurrence Constructor (WeekNumber, WeekDays, Int32)

Constructor of the class.

Namespace:  HiTSoftware.DBMoto.Application
Assembly:  APILibrary (in APILibrary.dll) Version: 7.0.0.0 (9.8.1.7)
Syntax
public MonthlyRecurrence(
	WeekNumber weekNumber,
	WeekDays weekDays,
	int numMonths
)

Parameters

weekNumber
Type: HiTSoftware.DBMoto.ApplicationWeekNumber
The number of week of the month
weekDays
Type: HiTSoftware.DBMoto.ApplicationWeekDays
One or more days of the week (Sunday to Saturday)
numMonths
Type: SystemInt32
Length of the recurrence in number of months
Remarks
Notice that, even if the WeekNumber and WeekDays enumerated types are defined with the FlagsAttribute attribute, only single values of these types are actually supported in this function.
Examples
// Define a monthly recurrence the first Monday of the month, every 3 months
MonthlyRecurrence rec = new MonthlyRecurrence(WeekNumber.First, WeekDays.Mon, 3);
See Also