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)
Syntaxpublic MonthlyRecurrence(
WeekNumber weekNumber,
WeekDays weekDays,
int numMonths
)
Public Sub New (
weekNumber As WeekNumber,
weekDays As WeekDays,
numMonths As Integer
)
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
MonthlyRecurrence rec = new MonthlyRecurrence(WeekNumber.First, WeekDays.Mon, 3);
See Also