ModelMetadata.RequestValidationEnabled Property
.NET Framework (current version)
Gets or sets a value that specifies whether request validation is enabled.
Assembly: System.Web (in System.Web.dll)
abstract RequestValidationEnabled : bool with get, set override RequestValidationEnabled : bool with get, set
Property Value
Type: System.Booleantrue if request validation is enabled; otherwise, false. The default is true.
.NET Framework
Available since 4.5
Available since 4.5
Show: