HttpParameterDescriptor.GetCustomAttributes<T> Method ()

 

Retrieves a collection of the custom attributes from the parameter.

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

Syntax

public virtual Collection<T> GetCustomAttributes<T>()
where T : class
public:
generic<typename T>
where T : ref class
virtual Collection<T>^ GetCustomAttributes()
abstract GetCustomAttributes<'T when 'T : not struct> : unit -> Collection<'T>
override GetCustomAttributes<'T when 'T : not struct> : unit -> Collection<'T>
Public Overridable Function GetCustomAttributes(Of T As Class) As Collection(Of T)

Return Value

Type: System.Collections.ObjectModel.Collection<T>

A collection of the custom attributes from the parameter.

Type Parameters

  • T
    The type of the custom attributes.

See Also

HttpParameterDescriptor Class
System.Web.Http.Controllers Namespace

Return to top