ServerValidateEventArgs Constructor (String, Boolean)

 

Initializes a new instance of the ServerValidateEventArgs class.

Namespace:   System.Web.UI.WebControls
Assembly:  System.Web (in System.Web.dll)

new : 
        value:string *
        isValid:bool -> ServerValidateEventArgs

Parameters

value
Type: System.String

The value to validate.

isValid
Type: System.Boolean

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.

.NET Framework
Available since 1.1
Return to top
Show: