ControllerDescriptor.GetFilterAttributes Method

Gets the filter attributes.

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

'Declaration
Public Overridable Function GetFilterAttributes ( _
	useCache As Boolean _
) As IEnumerable(Of FilterAttribute)
'Usage
Dim instance As ControllerDescriptor 
Dim useCache As Boolean 
Dim returnValue As IEnumerable(Of FilterAttribute)

returnValue = instance.GetFilterAttributes(useCache)

Parameters

useCache
Type: System.Boolean

true if the cache should be used; otherwise, false.

Return Value

Type: System.Collections.Generic.IEnumerable(Of FilterAttribute)
The filter attributes.
Show: