CustomAttributeExtensions.GetCustomAttribute Method
.NET Framework 4.5
Retrieves a custom attribute that is applied to a specified element.
This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.
| Name | Description | |
|---|---|---|
|
GetCustomAttribute<T>(Assembly) | Retrieves a custom attribute of a specified type that is applied to a specified assembly. |
|
GetCustomAttribute<T>(MemberInfo) | Retrieves a custom attribute of a specified type that is applied to a specified member. |
|
GetCustomAttribute<T>(Module) | Retrieves a custom attribute of a specified type that is applied to a specified module. |
|
GetCustomAttribute<T>(ParameterInfo) | Retrieves a custom attribute of a specified type that is applied to a specified parameter. |
|
GetCustomAttribute(Assembly, Type) | Retrieves a custom attribute of a specified type that is applied to a specified assembly. |
|
GetCustomAttribute<T>(MemberInfo, Boolean) | Retrieves a custom attribute of a specified type that is applied to a specified member, and optionally inspects the ancestors of that member. |
|
GetCustomAttribute(MemberInfo, Type) | Retrieves a custom attribute of a specified type that is applied to a specified member. |
|
GetCustomAttribute(Module, Type) | Retrieves a custom attribute of a specified type that is applied to a specified module. |
|
GetCustomAttribute<T>(ParameterInfo, Boolean) | Retrieves a custom attribute of a specified type that is applied to a specified parameter, and optionally inspects the ancestors of that parameter. |
|
GetCustomAttribute(ParameterInfo, Type) | Retrieves a custom attribute of a specified type that is applied to a specified parameter. |
|
GetCustomAttribute(MemberInfo, Type, Boolean) | Retrieves a custom attribute of a specified type that is applied to a specified member, and optionally inspects the ancestors of that member. |
|
GetCustomAttribute(ParameterInfo, Type, Boolean) | Retrieves a custom attribute of a specified type that is applied to a specified parameter, and optionally inspects the ancestors of that parameter. |