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


GrapeCity.Win.PluginInputMan Assembly > GrapeCity.Win.Spread.InputMan.CellType Namespace > ForceHoliday Class > ForceHoliday Constructor : 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.
See Also

Reference

ForceHoliday Class
ForceHoliday Members
Overload List