Spread Windows Forms 9.0 Product Documentation
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.
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.
Requirements

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

See Also

Reference

DayOfWeekHolidayPolicy Structure
DayOfWeekHolidayPolicy Members

 

 


Copyright © GrapeCity, inc. All rights reserved.