CustomAttributeExtensions.GetCustomAttribute Method (Assembly, Type)
May 02, 2013
Retrieves a custom attribute of a specified type that is applied to a specified assembly.
Assembly: mscorlib (in mscorlib.dll)
Parameters
- element
- Type: System.Reflection.Assembly
The assembly to inspect.
- attributeType
- Type: System.Type
The type of attribute to search for.
Return Value
Type: System.AttributeA custom attribute that matches attributeType, or null if no such attribute is found.