Spread Windows Forms 7.0 Product Documentation
DayOfWeekHolidayPolicy Constructor
See Also  Support Options
GrapeCity.Win.PluginInputMan Assembly > GrapeCity.Win.Spread.InputMan.CellType Namespace > DayOfWeekHolidayPolicy Structure : DayOfWeekHolidayPolicy Constructor


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.

Glossary Item Box

Initializes a new instance of the DayOfWeekHolidayPolicy structure with the specified WeekFlags and override settings.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal weekFlags As WeekFlags, _
   ByVal overrideHoliday As HolidayOverride _
)
Visual Basic (Usage)Copy Code
Dim weekFlags As WeekFlags
Dim overrideHoliday As HolidayOverride
 
Dim instance As New DayOfWeekHolidayPolicy(weekFlags, overrideHoliday)
C# 
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.

Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8

See Also

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.