TaskAsyncActionDescriptor.GetFilterAttributes Method

Returns an array of all custom attributes applied to this member.

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

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

returnValue = instance.GetFilterAttributes(useCache)

Parameters

useCache
Type: System.Boolean

true to search this member's inheritance chain to find the attributes; otherwise, false.

Return Value

Type: System.Collections.Generic.IEnumerable(Of FilterAttribute)
An array that contains all the custom attributes applied to this member, or an array with zero elements if no attributes are defined.
Show: