Partager via


HttpControllerDescriptor.GetFilters Method

Returns a collection of filters associated with the controller.

Namespace:  System.Web.Http.Controllers
Assembly:  System.Web.Http (in System.Web.Http.dll)

Syntax

'Declaration
Public Overridable Function GetFilters As Collection(Of IFilter)
'Usage
Dim instance As HttpControllerDescriptor 
Dim returnValue As Collection(Of IFilter)

returnValue = instance.GetFilters()
public virtual Collection<IFilter> GetFilters()
public:
virtual Collection<IFilter^>^ GetFilters()
abstract GetFilters : unit -> Collection<IFilter> 
override GetFilters : unit -> Collection<IFilter> 
public function GetFilters() : Collection<IFilter>

Return Value

Type: System.Collections.ObjectModel.Collection<IFilter>
A collection of filters associated with the controller.

See Also

Reference

HttpControllerDescriptor Class

System.Web.Http.Controllers Namespace