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 _
)
[C#]
public ServerValidateEventArgs(
   string value,
 bool isValid
);
[C++]
public: ServerValidateEventArgs(
   String* value,
 bool isValid
);
[JScript]
public function ServerValidateEventArgs(
   value : String,
 isValid : Boolean
);

Parameters

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

Remarks

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.

Requirements

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

See Also

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

Show: