Export (0) Print
Expand All

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)

'Declaration
Public Overridable Property RequestValidationEnabled As Boolean 
	Get 
	Set
'Usage
Dim instance As ModelMetadata 
Dim value As Boolean 

value = instance.RequestValidationEnabled

instance.RequestValidationEnabled = value

Property Value

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