Partager via


Filter Constructor

Initializes a new instance of the Filter class.

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

Syntax

'Declaration
Public Sub New ( _
    instance As Object, _
    scope As FilterScope, _
    order As Nullable(Of Integer) _
)
'Usage
Dim instance As Object
Dim scope As FilterScope
Dim order As Nullable(Of Integer)

Dim instance As New Filter(instance, _
    scope, order)
public Filter(
    Object instance,
    FilterScope scope,
    Nullable<int> order
)
public:
Filter(
    Object^ instance, 
    FilterScope scope, 
    Nullable<int> order
)
public function Filter(
    instance : Object, 
    scope : FilterScope, 
    order : Nullable<int>
)

Parameters

Remarks

For more information about ASP.NET MVC filter scope and order, see Filtering in ASP.NET MVC.

See Also

Reference

Filter Class

System.Web.Mvc Namespace