Gets a collection of attributes for the specified component.
[Visual Basic] Overloads Public Shared Function GetAttributes( _ ByVal component As Object, _ ByVal fNoCustomTypeDesc As Boolean _ ) As MemberAttributeCollection [C#] public static MemberAttributeCollection GetAttributes( object component, bool fNoCustomTypeDesc ); [C++] public: static MemberAttributeCollection* GetAttributes( Object* component, bool fNoCustomTypeDesc ); [JScript] public static function GetAttributes( component : Object, fNoCustomTypeDesc : Boolean ) : 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 | ICustomTypeDescriptor