This documentation is archived and is not being maintained.
Attribute::GetCustomAttribute Method
Visual Studio 2010
Retrieves a custom attribute of a specified type applied to an assembly, module, type member, or method parameter.
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(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(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(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(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(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, 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, 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, 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. |
Show: