Export (0) Print
Expand All

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)

[AttributeUsageAttribute(AttributeTargets.Class|AttributeTargets.Method, Inherited = true, 
	AllowMultiple = false)]
public class ValidateInputAttribute : FilterAttribute, 
	IAuthorizationFilter

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:
© 2014 Microsoft