Bewerken

Delen via


ICustomTypeDescriptor.GetPropertiesFromRegisteredType Method

Definition

Returns the properties for this instance of a component that might be registered.

public:
 virtual System::ComponentModel::PropertyDescriptorCollection ^ GetPropertiesFromRegisteredType();
public virtual System.ComponentModel.PropertyDescriptorCollection GetPropertiesFromRegisteredType ();
abstract member GetPropertiesFromRegisteredType : unit -> System.ComponentModel.PropertyDescriptorCollection
override this.GetPropertiesFromRegisteredType : unit -> System.ComponentModel.PropertyDescriptorCollection
Public Overridable Function GetPropertiesFromRegisteredType () As PropertyDescriptorCollection

Returns

A PropertyDescriptorCollection that represents the properties for this component instance.

Remarks

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.

Applies to