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)

function get RequestValidationEnabled () : boolean 
function set RequestValidationEnabled (value : boolean)

Property Value

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