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
- instance
Type: System.Object
The instance.
- scope
Type: System.Web.Mvc.FilterScope
The scope.
- order
Type: System.Nullable<Int32>
The order.
Remarks
For more information about ASP.NET MVC filter scope and order, see Filtering in ASP.NET MVC.