共用方式為


DataViewPropertyDescriptor.GetChildProperties 方法 (Object, array<Attribute[])

傳回指定元件的 PropertyDescriptorCollection ,使用指定的屬性陣列做為篩選條件。

命名空間:  Microsoft.VisualStudio.Data.Framework
組件:  Microsoft.VisualStudio.Data.Framework (在 Microsoft.VisualStudio.Data.Framework.dll 中)

語法

'宣告
Public Overrides Function GetChildProperties ( _
    instance As Object, _
    filter As Attribute() _
) As PropertyDescriptorCollection
public override PropertyDescriptorCollection GetChildProperties(
    Object instance,
    Attribute[] filter
)
public:
virtual PropertyDescriptorCollection^ GetChildProperties(
    Object^ instance, 
    array<Attribute^>^ filter
) override
abstract GetChildProperties : 
        instance:Object * 
        filter:Attribute[] -> PropertyDescriptorCollection  
override GetChildProperties : 
        instance:Object * 
        filter:Attribute[] -> PropertyDescriptorCollection
public override function GetChildProperties(
    instance : Object, 
    filter : Attribute[]
) : PropertyDescriptorCollection

參數

  • instance
    類型:Object

    要為其取得屬性的元件。

  • filter
    類型:array<Attribute[]

    陣列 Attribute 物件做為篩選條件。

傳回值

類型:PropertyDescriptorCollection
PropertyDescriptorCollection,具有與指定元件的指定屬性 (Attribute) 相符的屬性 (Property)。

.NET Framework 安全性

請參閱

參考

DataViewPropertyDescriptor 類別

GetChildProperties 多載

Microsoft.VisualStudio.Data.Framework 命名空間