HttpActionDescriptor.GetCustomAttributes(Of T) Method

Returns the custom attributes associated with the action descriptor.

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

'Declaration
Public Overridable Function GetCustomAttributes(Of T As Class) As Collection(Of T)
'Usage
Dim instance As HttpActionDescriptor
Dim returnValue As Collection(Of T)

returnValue = instance.GetCustomAttributes()

Type Parameters

T

The action descriptor.

Return Value

Type: System.Collections.ObjectModel.Collection(Of T)
The custom attributes associated with the action descriptor.
Show: