Spread Windows Forms 17
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.


In This Topic
    ForceHoliday Constructor(String,DateTime,DateTime)
    In This Topic
    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