Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Extension method: bool IsDefined<T>(this ParameterInfo)

Declaration

public static bool IsDefined<T>(
    this ParameterInfo parameter
)

Summary

Indicates whether one or more instance of the specified attribute type is applied to this parameter.

Generic type parameters

T The type of attribute to search for.

Parameters

this ParameterInfoparameter Parameter whose custom attributes to search.