Spread Windows Forms 12.0 Product Documentation
ForceDayOfWeekHoliday Constructor(Int32,MonthFlags,DayOfWeekInMonthFlags,DayOfWeekFlags)


GrapeCity.Win.PluginInputMan Assembly > GrapeCity.Win.Spread.InputMan.CellType Namespace > ForceDayOfWeekHoliday Class > ForceDayOfWeekHoliday Constructor : ForceDayOfWeekHoliday Constructor(Int32,MonthFlags,DayOfWeekInMonthFlags,DayOfWeekFlags)
An System.Int32 value that indicates the year of the forced holiday in weekdays.
A MonthFlags enumeration value that indicates the month.
A DayOfWeekInMonthFlags enumeration value that indicates the weekday order.
A DayOfWeekFlags enumeration value that indicates the day of the week.
Initializes a new instance of the ForceDayOfWeekHoliday class with the specified date.
Syntax
'Declaration
 
Public Function New( _
   ByVal year As Integer, _
   ByVal month As MonthFlags, _
   ByVal weekdayOrder As DayOfWeekInMonthFlags, _
   ByVal dayOfWeek As DayOfWeekFlags _
)
'Usage
 
Dim year As Integer
Dim month As MonthFlags
Dim weekdayOrder As DayOfWeekInMonthFlags
Dim dayOfWeek As DayOfWeekFlags
 
Dim instance As New ForceDayOfWeekHoliday(year, month, weekdayOrder, dayOfWeek)
public ForceDayOfWeekHoliday( 
   int year,
   MonthFlags month,
   DayOfWeekInMonthFlags weekdayOrder,
   DayOfWeekFlags dayOfWeek
)

Parameters

year
An System.Int32 value that indicates the year of the forced holiday in weekdays.
month
A MonthFlags enumeration value that indicates the month.
weekdayOrder
A DayOfWeekInMonthFlags enumeration value that indicates the weekday order.
dayOfWeek
A DayOfWeekFlags enumeration value that indicates the day of the week.
See Also

Reference

ForceDayOfWeekHoliday Class
ForceDayOfWeekHoliday Members
Overload List