Returns an instance of a specified custom attribute if a single instance of
the attribute is in the metadata for the specified member.
[Edit]
Parameters
- element
- An instance of a type derived from System.Reflection.MemberInfo that describes a type member.
[Edit]
- attributeType
- The Type of the custom attribute for which to check.
[Edit]
Returns
The single instance of Attribute of type attributeType that is applied to element. Returns null if the
specified attribute was not found.
[Edit]
Exceptions
Remarks
Requirements
Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0