DependencyPropertyDescriptor.GetChildProperties(Object, Attribute[]) Metod

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

Parametrar

instance
Object

En komponent att hämta egenskaperna för.

filter
Attribute[]

En matris av typen Attribute som ska användas som ett filter.

Returer

A PropertyDescriptorCollection med de egenskaper som matchar de angivna attributen för den angivna komponenten.

Kommentarer

Den här metoden förlitar sig på den underliggande PropertyDescriptor.

Gäller för