Gets a collection of properties for a specified component.
[Visual Basic] Overloads Public Shared Function GetProperties( _ ByVal component As Object _ ) As PropertyDescriptorCollection [C#] public static PropertyDescriptorCollection GetProperties( object component ); [C++] public: static PropertyDescriptorCollection* GetProperties( Object* component ); [JScript] public static function GetProperties( component : Object ) : PropertyDescriptorCollection;
A PropertyDescriptorCollection with the properties for the specified component.
The properties for a component can differ from the properties of a class, because if the component is sited, the site can add or remove properties.
TypeDescriptor Class | TypeDescriptor Members | System.ComponentModel Namespace | TypeDescriptor.GetProperties Overload List | TypeDescriptor | EventDescriptor | PropertyDescriptor | PropertyDescriptorCollection