Spread Windows Forms 17
GrapeCity.Win.PluginInputMan Assembly / GrapeCity.Win.Spread.InputMan.CellType Namespace / ForceWorkday Class / ForceWorkday Constructor / ForceWorkday Constructor(String,DateTime,DateTime)
A name that represents the holiday.
A System.DateTime value that represents the starting forced workday date.
A System.DateTime value that represents the ending forced workday date.


In This Topic
    ForceWorkday Constructor(String,DateTime,DateTime)
    In This Topic
    Initializes a new instance of the ForceHoliday class with the specified date.
    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 ForceWorkday(name, startDate, endDate)
    public ForceWorkday( 
       string name,
       DateTime startDate,
       DateTime endDate
    )

    Parameters

    name
    A name that represents the holiday.
    startDate
    A System.DateTime value that represents the starting forced workday date.
    endDate
    A System.DateTime value that represents the ending forced workday date.
    See Also