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,其屬性 (Property) 符合指定元件的指定屬性 (Attribute)。

備註

這個方法依賴基礎 PropertyDescriptor

適用於