FilterAttribute Class

Definition

Represents the base class for action and result filter attributes.

[System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Method, AllowMultiple=false, Inherited=true)]
public abstract class FilterAttribute : Attribute, System.Web.Mvc.IMvcFilter
type FilterAttribute = class
    inherit Attribute
    interface IMvcFilter
Public MustInherit Class FilterAttribute
Inherits Attribute
Implements IMvcFilter
Inheritance
FilterAttribute
Derived
Attributes
Implements

Constructors

FilterAttribute()

Initializes a new instance of the FilterAttribute class.

Properties

AllowMultiple

Gets or sets a value that indicates whether more than one instance of the filter attribute can be specified.

Order

Gets or sets the order in which the action filters are executed.

Applies to