GlobalFilterCollection.Add Method (Object, Int32)
Adds the specified filter to the global filter collection using the specified filter run order.
Namespace: System.Web.Mvc
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
Syntax
'Declaration
Public Sub Add ( _
filter As Object, _
order As Integer _
)
'Usage
Dim instance As GlobalFilterCollection
Dim filter As Object
Dim order As Integer
instance.Add(filter, order)
public void Add(
Object filter,
int order
)
public:
void Add(
Object^ filter,
int order
)
public function Add(
filter : Object,
order : int
)
Parameters
- filter
Type: System.Object
The filter.
- order
Type: System.Int32
The filter run order.