ValidateInputAttribute Class

Represents an attribute that is used to mark action methods whose input must be validated.

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

'Declaration
<AttributeUsageAttribute(AttributeTargets.Class Or AttributeTargets.Method, Inherited := True,  _
	AllowMultiple := False)> _
Public Class ValidateInputAttribute _
	Inherits FilterAttribute _
	Implements IAuthorizationFilter
'Usage
Dim instance As ValidateInputAttribute

For more information about using attributes, see Extending Metadata Using Attributes.

System.Object
  System.Attribute
    System.Web.Mvc.FilterAttribute
      System.Web.Mvc.ValidateInputAttribute

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Community Additions

Show: