Version

WebDateChooser.InvalidDateEventArgs Constructor

This constructor is used to create a new InvalidDateEventArgs, when the InvalidDateEvent is fired.

Syntax
'Declaration
 
Public Function New( _
   ByVal reason As WebDateChooser.InvalidDate, _
   ByVal text As String, _
   ByVal date As Object _
)
public WebDateChooser.InvalidDateEventArgs( 
   WebDateChooser.InvalidDate reason,
   string text,
   object date
)

Parameters

reason
The code specifying why the date was invalid.
text
If the Reason was ImproperDateFormat, this will be the original date string, otherwise it will be null.
date
If the Reason was DateOutOfRange or NullValue, this will be the original DateTime, otherwise it will be null.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also