Redigera

Dela via


DependencyPropertyDescriptor.GetChildProperties(Object, Attribute[]) Method

Definition

public:
 override System::ComponentModel::PropertyDescriptorCollection ^ GetChildProperties(System::Object ^ instance, cli::array <Attribute ^> ^ filter);
public override System.ComponentModel.PropertyDescriptorCollection GetChildProperties (object instance, Attribute[] filter);
override this.GetChildProperties : obj * Attribute[] -> System.ComponentModel.PropertyDescriptorCollection
Public Overrides Function GetChildProperties (instance As Object, filter As Attribute()) As PropertyDescriptorCollection

Parameters

instance
Object

A component to get the properties for.

filter
Attribute[]

An array of type Attribute to use as a filter.

Returns

A PropertyDescriptorCollection with the properties that match the specified attributes for the specified component.

Remarks

This method relies on the underlying PropertyDescriptor.

Applies to