Spread Windows Forms 7.0 Product Documentation
ForceHoliday Constructor(DateTime,DateTime)
See Also  Support Options
GrapeCity.Win.PluginInputMan Assembly > GrapeCity.Win.Spread.InputMan.CellType Namespace > ForceHoliday Class > ForceHoliday Constructor : ForceHoliday Constructor(DateTime,DateTime)


startDate
A System.DateTime value that represents the starting forced holiday date.
endDate
A System.DateTime value that represents the ending forced holiday date.

Glossary Item Box

Initializes a new instance of the ForceHoliday class with the specified settings.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal startDate As Date, _
   ByVal endDate As Date _
)
Visual Basic (Usage)Copy Code
Dim startDate As Date
Dim endDate As Date
 
Dim instance As New ForceHoliday(startDate, endDate)
C# 
public ForceHoliday( 
   DateTime startDate,
   DateTime endDate
)

Parameters

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 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8

See Also

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.