Export (0) Print
Expand All

Attribute.GetCustomAttributes Method

Retrieves an array of the custom attributes applied to an assembly, module, type member, or method parameter.

Name Description
Attribute.GetCustomAttributes (Assembly) Retrieves an array of the custom attributes applied to an assembly. A parameter specifies the assembly.

Supported by the .NET Compact Framework.

Attribute.GetCustomAttributes (MemberInfo) Retrieves an array of the custom attributes applied to a member of a type. A parameter specifies the member.

Supported by the .NET Compact Framework.

Attribute.GetCustomAttributes (Module) Retrieves an array of the custom attributes applied to a module. A parameter specifies the module.

Supported by the .NET Compact Framework.

Attribute.GetCustomAttributes (ParameterInfo) Retrieves an array of the custom attributes applied to a method parameter. A parameter specifies the method parameter.

Supported by the .NET Compact Framework.

Attribute.GetCustomAttributes (Assembly, Boolean) Retrieves an array of the custom attributes applied to an assembly. Parameters specify the assembly, and an ignored search option.

Supported by the .NET Compact Framework.

Attribute.GetCustomAttributes (Assembly, Type) Retrieves an array of the custom attributes applied to an assembly. Parameters specify the assembly, and the type of the custom attribute to search for.

Supported by the .NET Compact Framework.

Attribute.GetCustomAttributes (MemberInfo, Boolean) Retrieves an array of the custom attributes 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.

Supported by the .NET Compact Framework.

Attribute.GetCustomAttributes (MemberInfo, Type) Retrieves an array of the custom attributes applied to a member of a type. Parameters specify the member, and the type of the custom attribute to search for.

Supported by the .NET Compact Framework.

Attribute.GetCustomAttributes (Module, Boolean) Retrieves an array of the custom attributes applied to a module. Parameters specify the module, and an ignored search option.

Supported by the .NET Compact Framework.

Attribute.GetCustomAttributes (Module, Type) Retrieves an array of the custom attributes applied to a module. Parameters specify the module, and the type of the custom attribute to search for.

Supported by the .NET Compact Framework.

Attribute.GetCustomAttributes (ParameterInfo, Boolean) Retrieves an array of the custom attributes applied to a method parameter. Parameters specify the method parameter, and whether to search ancestors of the method parameter.

Supported by the .NET Compact Framework.

Attribute.GetCustomAttributes (ParameterInfo, Type) Retrieves an array of the custom attributes applied to a method parameter. Parameters specify the method parameter, and the type of the custom attribute to search for.

Supported by the .NET Compact Framework.

Attribute.GetCustomAttributes (Assembly, Type, Boolean) Retrieves an array of the custom attributes applied to an assembly. Parameters specify the assembly, the type of the custom attribute to search for, and an ignored search option.

Supported by the .NET Compact Framework.

Attribute.GetCustomAttributes (MemberInfo, Type, Boolean) Retrieves an array of the custom attributes 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.

Supported by the .NET Compact Framework.

Attribute.GetCustomAttributes (Module, Type, Boolean) Retrieves an array of the custom attributes applied to a module. Parameters specify the module, the type of the custom attribute to search for, and an ignored search option.

Supported by the .NET Compact Framework.

Attribute.GetCustomAttributes (ParameterInfo, Type, Boolean) Retrieves an array of the custom attributes 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.

Supported by the .NET Compact Framework.

Community Additions

ADD
Show:
© 2014 Microsoft