Partager via


GlobalFilterCollection.Add Method (Object)

Adds the specified filter to the global filter collection.

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

Syntax

'Declaration
Public Sub Add ( _
    filter As Object _
)
'Usage
Dim instance As GlobalFilterCollection
Dim filter As Object

instance.Add(filter)
public void Add(
    Object filter
)
public:
void Add(
    Object^ filter
)
public function Add(
    filter : Object
)

Parameters

See Also

Reference

GlobalFilterCollection Class

Add Overload

System.Web.Mvc Namespace