Attribute::GetCustomAttribute Method
Retrieves a custom attribute of a specified type applied to an assembly, module, type member, or method parameter.
Assembly: mscorlib (in mscorlib.dll)
| Name | Description | |
|---|---|---|
![]() ![]() | GetCustomAttribute(Assembly^, Type^) | Retrieves a custom attribute applied to a specified assembly. Parameters specify the assembly and the type of the custom attribute to search for. |
![]() ![]() | GetCustomAttribute(Assembly^, Type^, Boolean) | Retrieves a custom attribute applied to an assembly. Parameters specify the assembly, the type of the custom attribute to search for, and an ignored search option. |
![]() ![]() | GetCustomAttribute(MemberInfo^, Type^) | Retrieves a custom attribute applied to a member of a type. Parameters specify the member, and the type of the custom attribute to search for. |
![]() ![]() | GetCustomAttribute(MemberInfo^, Type^, Boolean) | Retrieves a custom attribute applied to a member of a type. Parameters specify the member, the type of the custom attribute to search for, and whether to search ancestors of the member. |
![]() ![]() | GetCustomAttribute(Module^, Type^) | Retrieves a custom attribute applied to a module. Parameters specify the module, and the type of the custom attribute to search for. |
![]() ![]() | GetCustomAttribute(Module^, Type^, Boolean) | Retrieves a custom attribute applied to a module. Parameters specify the module, the type of the custom attribute to search for, and an ignored search option. |
![]() ![]() | GetCustomAttribute(ParameterInfo^, Type^) | Retrieves a custom attribute applied to a method parameter. Parameters specify the method parameter, and the type of the custom attribute to search for. |
![]() ![]() | GetCustomAttribute(ParameterInfo^, Type^, Boolean) | Retrieves a custom attribute applied to a method parameter. Parameters specify the method parameter, the type of the custom attribute to search for, and whether to search ancestors of the method parameter. |

