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


An System.Int32 value that indicates the year of the forced workday 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 ForceDayOfWeekWorkday class with the specified date.
Syntax
'Declaration
 
Public Function New( _
   ByVal year As Integer, _
   ByVal month As MonthFlags, _
   ByVal weekdayOrder As DayOfWeekInMonthFlags, _
   ByVal dayOfWeek As DayOfWeekFlags _
)
'Usage
 
Dim year As Integer
Dim month As MonthFlags
Dim weekdayOrder As DayOfWeekInMonthFlags
Dim dayOfWeek As DayOfWeekFlags
 
Dim instance As New ForceDayOfWeekWorkday(year, month, weekdayOrder, dayOfWeek)
public ForceDayOfWeekWorkday( 
   int year,
   MonthFlags month,
   DayOfWeekInMonthFlags weekdayOrder,
   DayOfWeekFlags dayOfWeek
)

Parameters

year
An System.Int32 value that indicates the year of the forced workday 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

ForceDayOfWeekWorkday Class
ForceDayOfWeekWorkday Members
Overload List

 

 


Copyright © GrapeCity, inc. All rights reserved.