Gets the custom attribute for this assembly identified by the specified type.
[Visual Basic] Overloads Overridable Public Function GetCustomAttributes( _ ByVal attributeType As Type _ ) As Object () [C#] public virtual object[] GetCustomAttributes( Type attributeType ); [C++] public: virtual Object* GetCustomAttributes( Type* attributeType ) []; [JScript] public function GetCustomAttributes( attributeType : Type ) : Object[];
The custom attribute for this assembly identified by the specified type.
Exception Type | Condition |
---|---|
ArgumentNullException | attributeType is a null reference (in Visual Basic Nothing). |
ArgumentException | attributeType is not a runtime type. |
A array of objects representing the specified custom attributes.
Assembly Class | Assembly Members | System.Reflection Namespace | Assembly.GetCustomAttributes Overload List