RequestValidationEnabled Property

ModelMetadata::RequestValidationEnabled Property

 

Gets or sets a value that indicates whether request validation is enabled.

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

public:
property bool RequestValidationEnabled {
	virtual bool get();
	virtual void set(bool value);
}

Property Value

Type: System::Boolean

true if request validation is enabled; otherwise, false.

Return to top
Show:
© 2016 Microsoft