Spread Windows Forms 15.0
GrapeCity.Win.PluginInputMan Assembly / GrapeCity.Win.Spread.InputMan.CellType Namespace / Holiday Class / Holiday Constructor / Holiday Constructor(String,Int32,Int32,Int32,Int32)
A name that represents the holiday.
An integer value that represents the starting month of the holiday.
An integer value that represents the starting day of the holiday.
An integer value that represents the ending month of the holiday.
An integer value that represents the ending day of the holiday.


In This Topic
    Holiday Constructor(String,Int32,Int32,Int32,Int32)
    In This Topic
    Initializes a new instance of the Holiday class with a specified holiday date.
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal name As String, _
       ByVal startMonth As Integer, _
       ByVal startDay As Integer, _
       ByVal endMonth As Integer, _
       ByVal endDay As Integer _
    )
    'Usage
     
    
    Dim name As String
    Dim startMonth As Integer
    Dim startDay As Integer
    Dim endMonth As Integer
    Dim endDay As Integer
     
    Dim instance As New Holiday(name, startMonth, startDay, endMonth, endDay)

    Parameters

    name
    A name that represents the holiday.
    startMonth
    An integer value that represents the starting month of the holiday.
    startDay
    An integer value that represents the starting day of the holiday.
    endMonth
    An integer value that represents the ending month of the holiday.
    endDay
    An integer value that represents the ending day of the holiday.
    See Also