[]
        
(Showing Draft Content)

FarPoint.Web.Spread.DateTimeCellType.-ctor

DateTimeCellType Constructor

DateTimeCellType()

Creates a new date-time cell.

Declaration
public DateTimeCellType()
Public Sub New()

DateTimeCellType(string)

Creates a new date-time cell with the specified error message.

Declaration
public DateTimeCellType(string errorMessage)
Public Sub New(errorMessage As String)
Parameters
Type Name Description
string errorMessage

Message (as string) to display if the input value is not valid

DateTimeCellType(DateTime, DateTime)

Creates a new date-time cell with the specified earliest and latest allowable dates and times.

Declaration
public DateTimeCellType(DateTime min, DateTime max)
Public Sub New(min As Date, max As Date)
Parameters
Type Name Description
DateTime min

Minimum value (earliest date and time)

DateTime max

Maximum value (latest date and time)

DateTimeCellType(DateTime, DateTime, string)

Creates a new date-time cell with the specified earliest and latest allowable dates and the specified error message.

Declaration
public DateTimeCellType(DateTime min, DateTime max, string errorMessage)
Public Sub New(min As Date, max As Date, errorMessage As String)
Parameters
Type Name Description
DateTime min

Minimum value (earliest date and time)

DateTime max

Maximum value (latest date and time)

string errorMessage

Message (as string) to display if the input value is not valid