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:
virtual property bool RequestValidationEnabled {
	bool get ();
	void set (bool value);
}

Property Value

Type: System::Boolean
true if request validation is enabled; otherwise, false.
Show: