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


A System.String value that indicates the name of the forced holiday in weekdays.
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 name As String, _
   ByVal year As Integer, _
   ByVal month As MonthFlags, _
   ByVal weekdayOrder As DayOfWeekInMonthFlags, _
   ByVal dayOfWeek As DayOfWeekFlags _
)
'Usage
 
Dim name As String
Dim year As Integer
Dim month As MonthFlags
Dim weekdayOrder As DayOfWeekInMonthFlags
Dim dayOfWeek As DayOfWeekFlags
 
Dim instance As New ForceDayOfWeekHoliday(name, year, month, weekdayOrder, dayOfWeek)
public ForceDayOfWeekHoliday( 
   string name,
   int year,
   MonthFlags month,
   DayOfWeekInMonthFlags weekdayOrder,
   DayOfWeekFlags dayOfWeek
)

Parameters

name
A System.String value that indicates the name of the forced holiday in weekdays.
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.
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

ForceDayOfWeekHoliday Class
ForceDayOfWeekHoliday Members
Overload List

 

 


Copyright © GrapeCity, inc. All rights reserved.