ICustomTypeDescriptor.GetProperties Method ()

 

Returns the properties for this instance of a component.

Namespace:   System.ComponentModel
Assembly:  System (in System.dll)

PropertyDescriptorCollection GetProperties()

Return Value

Type: System.ComponentModel.PropertyDescriptorCollection

A PropertyDescriptorCollection that represents the properties for this component instance.

The properties for this instance can differ from the set of properties that the class provides. For example, if the component is sited, the site can add or remove additional properties.

Implementers can return PropertyDescriptorCollection.Empty if no properties are specified. This method should never return null.

.NET Framework
Available since 1.1
Return to top
Show: