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 virtual bool RequestValidationEnabled { get; set; }

Property Value

Type: System.Boolean

true if request validation is enabled; otherwise, false.

Return to top
Show:
© 2016 Microsoft