CustomAttributeExtensions.GetCustomAttributes Method

May 11, 2014

Retrieves a collection of custom attributes that are 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.

  NameDescription
Public method Static member GetCustomAttributes<T>(Assembly) Retrieves a collection of custom attributes of a specified type that are applied to a specified assembly.
Public method Static member GetCustomAttributes(Assembly) Retrieves a collection of custom attributes that are applied to a specified assembly.
Public method Static member GetCustomAttributes(MemberInfo) Retrieves a collection of custom attributes that are applied to a specified member.
Public method Static member GetCustomAttributes<T>(MemberInfo) Retrieves a collection of custom attributes of a specified type that are applied to a specified member.
Public method Static member GetCustomAttributes(Module) Retrieves a collection of custom attributes that are applied to a specified module.
Public method Static member GetCustomAttributes<T>(Module) Retrieves a collection of custom attributes of a specified type that are applied to a specified module.
Public method Static member GetCustomAttributes(ParameterInfo) Retrieves a collection of custom attributes that are applied to a specified parameter.
Public method Static member GetCustomAttributes<T>(ParameterInfo) Retrieves a collection of custom attributes of a specified type that are applied to a specified parameter.
Public method Static member GetCustomAttributes(Assembly, Type) Retrieves a collection of custom attributes of a specified type that are applied to a specified assembly.
Public method Static member GetCustomAttributes<T>(MemberInfo, Boolean) Retrieves a collection of custom attributes of a specified type that are applied to a specified member, and optionally inspects the ancestors of that member.
Public method Static member GetCustomAttributes(MemberInfo, Boolean) Retrieves a collection of custom attributes that are applied to a specified member, and optionally inspects the ancestors of that member.
Public method Static member GetCustomAttributes(MemberInfo, Type) Retrieves a collection of custom attributes of a specified type that are applied to a specified member.
Public method Static member GetCustomAttributes(Module, Type) Retrieves a collection of custom attributes of a specified type that are applied to a specified module.
Public method Static member GetCustomAttributes(ParameterInfo, Boolean) Retrieves a collection of custom attributes that are applied to a specified parameter, and optionally inspects the ancestors of that parameter.
Public method Static member GetCustomAttributes<T>(ParameterInfo, Boolean) Retrieves a collection of custom attributes of a specified type that are applied to a specified parameter, and optionally inspects the ancestors of that parameter.
Public method Static member GetCustomAttributes(ParameterInfo, Type) Retrieves a collection of custom attributes of a specified type that are applied to a specified parameter.
Public method Static member GetCustomAttributes(MemberInfo, Type, Boolean) Retrieves a collection of custom attributes of a specified type that are applied to a specified member, and optionally inspects the ancestors of that member.
Public method Static member GetCustomAttributes(ParameterInfo, Type, Boolean) Retrieves a collection of custom attributes of a specified type that are applied to a specified parameter, and optionally inspects the ancestors of that parameter.
Top

Show:
© 2014 Microsoft