CustomAttributeExtensions Class
Contains static methods for retrieving custom attributes.
Assembly: mscorlib (in mscorlib.dll)
| Name | Description | |
|---|---|---|
![]() ![]() | GetCustomAttribute(Assembly, Type) | Retrieves a custom attribute of a specified type that is applied to a specified assembly. |
![]() ![]() | GetCustomAttribute(MemberInfo, Type) | Retrieves a custom attribute of a specified type that is applied to a specified member. |
![]() ![]() | 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(Module, Type) | Retrieves a custom attribute of a specified type that is applied to a specified module. |
![]() ![]() | GetCustomAttribute(ParameterInfo, Type) | Retrieves a custom attribute of a specified type that is applied to a specified parameter. |
![]() ![]() | 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. |
![]() ![]() | GetCustomAttribute(Of T)(Assembly) | Retrieves a custom attribute of a specified type that is applied to a specified assembly. |
![]() ![]() | GetCustomAttribute(Of T)(MemberInfo) | Retrieves a custom attribute of a specified type that is applied to a specified member. |
![]() ![]() | GetCustomAttribute(Of 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(Of T)(Module) | Retrieves a custom attribute of a specified type that is applied to a specified module. |
![]() ![]() | GetCustomAttribute(Of T)(ParameterInfo) | Retrieves a custom attribute of a specified type that is applied to a specified parameter. |
![]() ![]() | GetCustomAttribute(Of 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. |
![]() ![]() | GetCustomAttributes(Assembly) | Retrieves a collection of custom attributes that are applied to a specified assembly. |
![]() ![]() | GetCustomAttributes(Assembly, Type) | Retrieves a collection of custom attributes of a specified type that are applied to a specified assembly. |
![]() ![]() | GetCustomAttributes(MemberInfo) | Retrieves a collection of custom attributes that are applied to a specified 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. |
![]() ![]() | GetCustomAttributes(MemberInfo, Type) | Retrieves a collection of custom attributes of a specified type that are applied to a specified 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. |
![]() ![]() | GetCustomAttributes(Module) | Retrieves a collection of custom attributes that are applied to a specified module. |
![]() ![]() | GetCustomAttributes(Module, Type) | Retrieves a collection of custom attributes of a specified type that are applied to a specified module. |
![]() ![]() | GetCustomAttributes(ParameterInfo) | Retrieves a collection of custom attributes that are applied to a specified parameter. |
![]() ![]() | GetCustomAttributes(ParameterInfo, Boolean) | Retrieves a collection of custom attributes that are applied to a specified parameter, and optionally inspects the ancestors of that parameter. |
![]() ![]() | GetCustomAttributes(ParameterInfo, Type) | Retrieves a collection of custom attributes of a specified type that are applied to a specified parameter. |
![]() ![]() | 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. |
![]() ![]() | GetCustomAttributes(Of T)(Assembly) | Retrieves a collection of custom attributes of a specified type that are applied to a specified assembly. |
![]() ![]() | GetCustomAttributes(Of T)(MemberInfo) | Retrieves a collection of custom attributes of a specified type that are applied to a specified member. |
![]() ![]() | GetCustomAttributes(Of 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. |
![]() ![]() | GetCustomAttributes(Of T)(Module) | Retrieves a collection of custom attributes of a specified type that are applied to a specified module. |
![]() ![]() | GetCustomAttributes(Of T)(ParameterInfo) | Retrieves a collection of custom attributes of a specified type that are applied to a specified parameter. |
![]() ![]() | GetCustomAttributes(Of 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. |
![]() ![]() | IsDefined(Assembly, Type) | Indicates whether custom attributes of a specified type are applied to a specified assembly. |
![]() ![]() | IsDefined(MemberInfo, Type) | Indicates whether custom attributes of a specified type are applied to a specified member. |
![]() ![]() | IsDefined(MemberInfo, Type, Boolean) | Indicates whether custom attributes of a specified type are applied to a specified member, and, optionally, applied to its ancestors. |
![]() ![]() | IsDefined(Module, Type) | Indicates whether custom attributes of a specified type are applied to a specified module. |
![]() ![]() | IsDefined(ParameterInfo, Type) | Indicates whether custom attributes of a specified type are applied to a specified parameter. |
![]() ![]() | IsDefined(ParameterInfo, Type, Boolean) | Indicates whether custom attributes of a specified type are applied to a specified parameter, and, optionally, applied to its ancestors. |
Available since 8
.NET Framework
Available since 4.5
Portable Class Library
Supported in: portable .NET platforms
Windows Phone Silverlight
Available since 8.0
Windows Phone
Available since 8.1
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

