Spread Windows Forms 10.0 Product Documentation
ForceHoliday Constructor(String,DateTime,DateTime)


A name that represents the holiday.
A System.DateTime value that represents the starting forced holiday date.
A System.DateTime value that represents the ending forced holiday date.
Initializes a new instance of the ForceHoliday class with the specified settings.
Syntax
'Declaration
 
Public Function New( _
   ByVal name As String, _
   ByVal startDate As Date, _
   ByVal endDate As Date _
)
'Usage
 
Dim name As String
Dim startDate As Date
Dim endDate As Date
 
Dim instance As New ForceHoliday(name, startDate, endDate)
public ForceHoliday( 
   string name,
   DateTime startDate,
   DateTime endDate
)

Parameters

name
A name that represents the holiday.
startDate
A System.DateTime value that represents the starting forced holiday date.
endDate
A System.DateTime value that represents the ending forced holiday date.
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

ForceHoliday Class
ForceHoliday Members
Overload List

 

 


Copyright © GrapeCity, inc. All rights reserved.