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