GetCustomAttributes(ParameterInfo, Type) Method

Retrieves an array of the custom attributes applied to a method parameter. Parameters specify the method parameter, and the type of the custom attribute to search for.
Namespace: Z.Reflection.Extensions
Assembly: Z.ExtensionMethods.WithNamespace.dll


public static Attribute[] GetCustomAttributes(this ParameterInfo element, Type attributeType)


Type:  ParameterInfo
An object derived from the class that describes a parameter of a member of a class.
Type:  Type
The type, or a base type, of the custom attribute to search for.

Return Value

Type:  Attribute[]
Powered by ZZZ Projects .NET Documentation Generator 0.0.2 (Alpha)