Udostępnij za pośrednictwem


ElementTypeDescriptor.GetProperties Method

Definition

Overloads

GetProperties()

Returns the properties for this instance of a component.

GetProperties(Attribute[])

Returns the properties for this instance of a component using the attribute array as a filter.

GetProperties()

Returns the properties for this instance of a component.

public:
 override System::ComponentModel::PropertyDescriptorCollection ^ GetProperties();
public override System.ComponentModel.PropertyDescriptorCollection GetProperties ();
override this.GetProperties : unit -> System.ComponentModel.PropertyDescriptorCollection
Public Overrides Function GetProperties () As PropertyDescriptorCollection

Returns

A PropertyDescriptorCollection that represents the properties for this component instance.

Applies to

GetProperties(Attribute[])

Returns the properties for this instance of a component using the attribute array as a filter.

public:
 override System::ComponentModel::PropertyDescriptorCollection ^ GetProperties(cli::array <Attribute ^> ^ attributes);
public override System.ComponentModel.PropertyDescriptorCollection GetProperties (Attribute[] attributes);
override this.GetProperties : Attribute[] -> System.ComponentModel.PropertyDescriptorCollection
Public Overrides Function GetProperties (attributes As Attribute()) As PropertyDescriptorCollection

Parameters

attributes
Attribute[]

An array of type Attribute that is used as a filter.

Returns

An array of type Attribute that represents the properties for this component instance that match the given set of attributes.

Applies to