Attribute::IsDefined Method
Determines whether any custom attributes of a specified type are applied to an assembly, module, type member, or method parameter.
Assembly: mscorlib (in mscorlib.dll)
| Name | Description | |
|---|---|---|
![]() ![]() | IsDefined(Assembly^, Type^) | Determines whether any custom attributes are applied to an assembly. Parameters specify the assembly, and the type of the custom attribute to search for. |
![]() ![]() | IsDefined(Assembly^, Type^, Boolean) | Determines whether any custom attributes are applied to an assembly. Parameters specify the assembly, the type of the custom attribute to search for, and an ignored search option. |
![]() ![]() | IsDefined(MemberInfo^, Type^) | Determines whether any custom attributes are applied to a member of a type. Parameters specify the member, and the type of the custom attribute to search for. |
![]() ![]() | IsDefined(MemberInfo^, Type^, Boolean) | Determines whether any custom attributes are 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. |
![]() ![]() | IsDefined(Module^, Type^) | Determines whether any custom attributes of a specified type are applied to a module. Parameters specify the module, and the type of the custom attribute to search for. |
![]() ![]() | IsDefined(Module^, Type^, Boolean) | Determines whether any custom attributes are applied to a module. Parameters specify the module, the type of the custom attribute to search for, and an ignored search option. |
![]() ![]() | IsDefined(ParameterInfo^, Type^) | Determines whether any custom attributes are applied to a method parameter. Parameters specify the method parameter, and the type of the custom attribute to search for. |
![]() ![]() | IsDefined(ParameterInfo^, Type^, Boolean) | Determines whether any custom attributes are 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. |

