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.

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

Inheritance Hierarchy

System.Object
  System.Web.Mvc.Filter

Syntax

public class Filter
public ref class Filter 
type Filter = class end
Public Class Filter

Constructors

Name Description
System_CAPS_pubmethod Filter(Object, FilterScope, Nullable<Int32>)

Initializes a new instance of the Filter class.

Properties

Name Description
System_CAPS_pubproperty Instance

Gets the instance of this class.

System_CAPS_pubproperty Order

Gets the order in which the filter is applied.

System_CAPS_pubproperty Scope

Gets the scope ordering of the filter.

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

Fields

Name Description
System_CAPS_pubfieldSystem_CAPS_static DefaultOrder

Represents a constant that is used to specify the default ordering of filters.

Remarks

For more information about ASP.NET MVC filters, see .Unable to find linked topic '64f865ae-5bf9-4b70-8c68-3ec88f60cd2e'.

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

System.Web.Mvc Namespace

Return to top