ModelMetadata.RequestValidationEnabled Property

.NET Framework (current version)
 

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

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

abstract RequestValidationEnabled : bool with get, set
override RequestValidationEnabled : bool with get, set

Property Value

Type: System.Boolean

true if request validation is enabled; otherwise, false. The default is true.

.NET Framework
Available since 4.5
Return to top
Show: