This documentation is archived and is not being maintained.

ServerValidateEventArgs Constructor

Initializes a new instance of the ServerValidateEventArgs class.

[Visual Basic]
Public Sub New( _
   ByVal value As String, _
   ByVal isValid As Boolean _
public ServerValidateEventArgs(
   string value,
 bool isValid
public: ServerValidateEventArgs(
   String* value,
 bool isValid
public function ServerValidateEventArgs(
   value : String,
 isValid : Boolean


The value to validate.
true to indicate that the value passes validation; otherwise, false.


Use this constructor to create and initialize a new instance of the ServerValidateEventArgs class.

The following table shows initial property values for an instance of ServerValidateEventArgs.

Property Initial Value
Value The value of the value parameter.
IsValid The value of the isValid parameter.


Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family

See Also

ServerValidateEventArgs Class | ServerValidateEventArgs Members | System.Web.UI.WebControls Namespace | Value | IsValid