GlobalFilterCollection.Add Method

 

Adds a filter to the global filter collection.

Namespace:   System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)

NameDescription
System_CAPS_pubmethodAdd(Object)

Adds the specified filter to the global filter collection.

System_CAPS_pubmethodAdd(Object, Int32)

Adds the specified filter to the global filter collection using the specified filter run order.

Return to top

GlobalFilterCollection.Add Method (Object)

Adds the specified filter to the global filter collection.

Public Sub Add (
	filter As Object
)

Parameters

filter
Type: System.Object

The filter.

Return to top

GlobalFilterCollection.Add Method (Object, Int32)

Adds the specified filter to the global filter collection using the specified filter run order.

Public Sub Add (
	filter As Object,
	order As Integer
)

Parameters

filter
Type: System.Object

The filter.

order
Type: System.Int32

The filter run order.

Return to top
Show: