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)

'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)

Parameters

filter
Type: System.Object

The filter.

order
Type: System.Int32

The filter run order.

Show: