ValidateInputAttribute Constructor (Boolean)

 

Initializes a new instance of the ValidateInputAttribute class.

Namespace:   System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)

public:
ValidateInputAttribute(
	bool enableValidation
)

Parameters

enableValidation
Type: System::Boolean

true to enable validation.

Return to top
Show: