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)

public function Add(
	filter : Object, 
	order : int
)

Parameters

filter
Type: System.Object
The filter.
order
Type: System.Int32
The filter run order.
Show: