Share via


DataViewPropertyDescriptor.GetChildProperties(Object, Attribute[]) Method

Definition

Returns a PropertyDescriptorCollection for a given component, using a specified array of attributes as a filter.

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 Attribute objects to use as a filter.

Returns

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

Applies to