Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
EnableValidation Property
Collapse the table of content
Expand the table of content

ValidateInputAttribute.EnableValidation Property

 

Gets or sets a value that indicates whether to enable validation.

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

public bool EnableValidation { get; private set; }

Property Value

Type: System.Boolean

true if validation is enabled; otherwise, false.

Return to top
Show:
© 2015 Microsoft