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


name
A name that represents the holiday.
date
A System.DateTime value that represents the forced holiday.

Glossary Item Box

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

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal name As String, _
   ByVal date As Date _
)
Visual Basic (Usage)Copy Code
Dim name As String
Dim date As Date
 
Dim instance As New ForceHoliday(name, date)
C# 
public ForceHoliday( 
   string name,
   DateTime date
)

Parameters

name
A name that represents the holiday.
date
A System.DateTime value that represents the forced holiday.

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.