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