Spread Windows Forms 15.0
GrapeCity.Win.PluginInputMan Assembly / GrapeCity.Win.Spread.InputMan.CellType Namespace / DayOfWeekHolidayPolicy Structure / DayOfWeekHolidayPolicy Constructor
A WeekFlags flag value that represents the weeks that will be treated as a holiday.
true to override the holiday (when the holiday lands on a weekday which is already set to a holiday) to the following day; false to do nothing.


In This Topic
    DayOfWeekHolidayPolicy Constructor
    In This Topic
    Initializes a new instance of the DayOfWeekHolidayPolicy structure with the specified WeekFlags and override settings.
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal weekFlags As WeekFlags, _
       ByVal overrideHoliday As HolidayOverride _
    )
    'Usage
     
    
    Dim weekFlags As WeekFlags
    Dim overrideHoliday As HolidayOverride
     
    Dim instance As New DayOfWeekHolidayPolicy(weekFlags, overrideHoliday)
    public DayOfWeekHolidayPolicy( 
       WeekFlags weekFlags,
       HolidayOverride overrideHoliday
    )

    Parameters

    weekFlags
    A WeekFlags flag value that represents the weeks that will be treated as a holiday.
    overrideHoliday
    true to override the holiday (when the holiday lands on a weekday which is already set to a holiday) to the following day; false to do nothing.
    See Also