GlobalFilters.Filters Property
Gets or sets the global filter collection.
Namespace: System.Web.Mvc
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
Syntax
'Declaration
Public Shared Property Filters As GlobalFilterCollection
'Usage
Dim value As GlobalFilterCollection
value = GlobalFilters.Filters
public static GlobalFilterCollection Filters { get; private set; }
public:
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.
Remarks
Use this property to register a global filter.