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 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。