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


A System.String value that indicates the name of the holiday.
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 DayOfWeekHoliday class with the specified date.
Syntax
'Declaration
 
Public Function New( _
   ByVal name As String, _
   ByVal month As MonthFlags, _
   ByVal weekdayOrder As DayOfWeekInMonthFlags, _
   ByVal dayOfWeek As DayOfWeekFlags _
)
'Usage
 
Dim name As String
Dim month As MonthFlags
Dim weekdayOrder As DayOfWeekInMonthFlags
Dim dayOfWeek As DayOfWeekFlags
 
Dim instance As New DayOfWeekHoliday(name, month, weekdayOrder, dayOfWeek)
public DayOfWeekHoliday( 
   string name,
   MonthFlags month,
   DayOfWeekInMonthFlags weekdayOrder,
   DayOfWeekFlags dayOfWeek
)

Parameters

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

DayOfWeekHoliday Class
DayOfWeekHoliday Members
Overload List

 

 


Copyright © GrapeCity, inc. All rights reserved.