Share via


DependencyPropertyDescriptor.GetChildProperties(Object, Attribute[]) 方法

定义

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

参数

instance
Object

要为其获取属性的组件。

filter
Attribute[]

要用作筛选器的类型 Attribute 数组。

返回

具有与指定组件的指定属性相匹配的属性的 PropertyDescriptorCollection

注解

此方法依赖于基础 PropertyDescriptor

适用于