System.Reflection.CustomAttributeExtensions.GetCustomAttributes Method

Retrieves a collection of custom attributes that are applied to a specified parameter.

Syntax

public static IEnumerable<Attribute> GetCustomAttributes (this ParameterInfo element)

Parameters

element
The parameter to inspect.

Returns

A collection of the custom attributes that are applied to element, or an empty collection if no such attributes exist.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: System.Reflection
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 4.0.0.0