.NET Framework Class Library
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
Visual Basic (Declaration)
Public Class Filter
Visual Basic (Usage)
Dim instance As Filter
C#
public class Filter
Visual C++
public ref class Filter
JScript
public class Filter
The Filter type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
|
Filter | Initializes a new instance of the Filter class. |
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. |
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.) |
Fields
| Name | Description | |
|---|---|---|
|
DefaultOrder | Represents a constant that is used to specify the default ordering of filters. |
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.See Also