Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ServerValidateEventArgs Constructor (String^, Boolean)

 

Initializes a new instance of the ServerValidateEventArgs class.

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

public:
ServerValidateEventArgs(
	String^ value,
	bool isValid
)

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:
© 2017 Microsoft