Gets a collection of attributes for the specified type of component.
[Visual Basic] Overloads Public Shared Function GetAttributes( _ ByVal componentType As Type _ ) As MemberAttributeCollection [C#] public static MemberAttributeCollection GetAttributes( Type componentType ); [C++] public: static MemberAttributeCollection* GetAttributes( Type* componentType ); [JScript] public static function GetAttributes( componentType : Type ) : MemberAttributeCollection;
A MemberAttributeCollection with the attributes for the type of the component. If the component is a null reference (in Visual Basic Nothing), this method returns an empty collection.
Call this version of this method only when you do not have an instance of the object.
TypeDescriptor Class | TypeDescriptor Members | System.ComponentModel Namespace | TypeDescriptor.GetAttributes Overload List | TypeDescriptor | EventDescriptor | PropertyDescriptor | MemberAttribute | MemberAttributeCollection