DataConnectionProperties.ICustomTypeDescriptor.GetProperties 方法 (array<Attribute[])
擷取元件的指定執行個體的屬性,使用屬性陣列做為篩選條件。
命名空間: Microsoft.VisualStudio.Data.Framework
組件: Microsoft.VisualStudio.Data.Framework (在 Microsoft.VisualStudio.Data.Framework.dll 中)
語法
'宣告
Private Function GetProperties ( _
attributes As Attribute() _
) As PropertyDescriptorCollection Implements ICustomTypeDescriptor.GetProperties
PropertyDescriptorCollection ICustomTypeDescriptor.GetProperties(
Attribute[] attributes
)
private:
virtual PropertyDescriptorCollection^ GetProperties(
array<Attribute^>^ attributes
) sealed = ICustomTypeDescriptor::GetProperties
private abstract GetProperties :
attributes:Attribute[] -> PropertyDescriptorCollection
private override GetProperties :
attributes:Attribute[] -> PropertyDescriptorCollection
JScript 不支援明確介面實作。
參數
attributes
類型:array<Attribute[]用於 Attribute 型別的陣列,要傳回的屬性篩選條件定義。
傳回值
類型:PropertyDescriptorCollection
目前已知的屬性描述元集合符合指定的屬性集。
實作
ICustomTypeDescriptor.GetProperties(Attribute)
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。