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 void Add(
	Object filter,
	int order
)

Parameters

filter
Type: System.Object

The filter.

order
Type: System.Int32

The filter run order.

Show: