Filter Class
Represents a metadata class that contains a reference to the implementation of one or more of the filter interfaces, the filter's order, and the filter's scope.
Inheritance Hierarchy
System.Object
System.Web.Mvc.Filter
Namespace: System.Web.Mvc
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
Syntax
'Declaration
Public Class Filter
'Usage
Dim instance As Filter
public class Filter
public ref class Filter
public class Filter
The Filter type exposes the following members.
Constructors
Name | Description | |
---|---|---|
Filter | Initializes a new instance of the Filter class. |
Top
Properties
Name | Description | |
---|---|---|
Instance | Gets the instance of this class. | |
Order | Gets the order in which the filter is applied. | |
Scope | Gets the scope ordering of the filter. |
Top
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
ToString | (Inherited from Object.) |
Top
Fields
Name | Description | |
---|---|---|
DefaultOrder | Represents a constant that is used to specify the default ordering of filters. |
Top
Remarks
For more information about ASP.NET MVC filters, see Filtering in ASP.NET MVC.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.