Export (0) Print
Expand All

CustomAttributeExtensions.IsDefined Method

.NET Framework 4.5

Indicates whether custom attributes are applied to an element.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  Name Description
Public method Static member IsDefined(Assembly, Type) Indicates whether custom attributes of a specified type are applied to a specified assembly.
Public method Static member IsDefined(MemberInfo, Type) Indicates whether custom attributes of a specified type are applied to a specified member.
Public method Static member IsDefined(Module, Type) Indicates whether custom attributes of a specified type are applied to a specified module.
Public method Static member IsDefined(ParameterInfo, Type) Indicates whether custom attributes of a specified type are applied to a specified parameter.
Public method Static 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.
Public method Static member IsDefined(ParameterInfo, Type, Boolean) Indicates whether custom attributes of a specified type are applied to a specified parameter, and, optionally, applied to its ancestors.
Top
Show:
© 2014 Microsoft