Gets a collection of properties for a specified type of component using a specified array of attributes as a filter.
[Visual Basic] Overloads Public Shared Function GetProperties( _ ByVal componentType As Type, _ ByVal attributes() As MemberAttribute _ ) As PropertyDescriptorCollection [C#] public static PropertyDescriptorCollection GetProperties( Type componentType, MemberAttribute[] attributes ); [C++] public: static PropertyDescriptorCollection* GetProperties( Type* componentType, MemberAttribute* attributes[] ); [JScript] public static function GetProperties( componentType : Type, attributes : MemberAttribute[] ) : PropertyDescriptorCollection;
A PropertyDescriptorCollection with the properties that match the specified attributes for this type of component.
Call this version of this method only when you do not have an instance of the object.
The attributes array can have a mix of Type and MemberAttribute objects. Filtering is defined by the following rules:
TypeDescriptor Class | TypeDescriptor Members | System.ComponentModel Namespace | TypeDescriptor.GetProperties Overload List | TypeDescriptor | EventDescriptor | PropertyDescriptor | PropertyDescriptorCollection | MemberAttribute