Spread ASP.NET 17
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread Namespace / DateTimeCellType Class / DateTimeCellType Constructor / DateTimeCellType Constructor(DateTime,DateTime,String)
Minimum value (earliest date and time)
Maximum value (latest date and time)
Message (as string) to display if the input value is not valid
Example


In This Topic
    DateTimeCellType Constructor(DateTime,DateTime,String)
    In This Topic
    Creates a new date-time cell with the specified earliest and latest allowable dates and the specified error message.
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal min As Date, _
       ByVal max As Date, _
       ByVal errorMessage As String _
    )
    'Usage
     
    
    Dim min As Date
    Dim max As Date
    Dim errorMessage As String
     
    Dim instance As New DateTimeCellType(min, max, errorMessage)
    public DateTimeCellType( 
       DateTime min,
       DateTime max,
       string errorMessage
    )

    Parameters

    min
    Minimum value (earliest date and time)
    max
    Maximum value (latest date and time)
    errorMessage
    Message (as string) to display if the input value is not valid
    Example
    This example creates a date-time cell with the specified earliest and latest allowable dates and times.
    See Also