Share via

GlobalFilters.Filters Property

Gets or sets the global filter collection.

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


Public Shared Property Filters As GlobalFilterCollection
Dim value As GlobalFilterCollection

value = GlobalFilters.Filters
public static GlobalFilterCollection Filters { get; private set; }
static property GlobalFilterCollection^ Filters {
    GlobalFilterCollection^ get ();
    private: void set (GlobalFilterCollection^ value);
static function get Filters () : GlobalFilterCollection
private static function set Filters (value : GlobalFilterCollection)

Property Value

Type: System.Web.Mvc.GlobalFilterCollection
The global filter collection.


Use this property to register a global filter.

See Also


GlobalFilters Class

System.Web.Mvc Namespace

Other Resources

Filtering in ASP.NET MVC