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


name
A name that represents the holiday.
month
An integer value that represents the holiday month.
day
An integer value that represents the holiday day.

Glossary Item Box

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

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal name As String, _
   ByVal month As Integer, _
   ByVal day As Integer _
)
Visual Basic (Usage)Copy Code
Dim name As String
Dim month As Integer
Dim day As Integer
 
Dim instance As New Holiday(name, month, day)
C# 
public Holiday( 
   string name,
   int month,
   int day
)

Parameters

name
A name that represents the holiday.
month
An integer value that represents the holiday month.
day
An integer value that represents the holiday day.

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.