Returns an array of the instances of a specified custom attribute if the attribute is in the metadata for the specified assembly.
- element
- A System.Reflection.Assembly instance.
- attributeType
- The Type of the custom attribute for which to check.
An array of type attributeType containing the instances that are applied to element. The array includes any inherited instances of attributeType. Returns an empty array if the specified attribute was not found.
Type Reason ArgumentNullException element or type is null. ArgumentException attributeType is not a type derived from Attribute.
Documentation for this section has not yet been entered.
Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0