Spread Windows Forms 17
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.


In This Topic
    ForceDayOfWeekHoliday Constructor(Int32,MonthFlags,DayOfWeekInMonthFlags,DayOfWeekFlags)
    In This Topic
    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)

    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