DataConnectionProperties.GetProperties 方法 (array<Attribute[])
擷取目前已知的屬性描述項集合符合指定的屬性集。
命名空間: Microsoft.VisualStudio.Data
組件: Microsoft.VisualStudio.Data (在 Microsoft.VisualStudio.Data.dll 中)
語法
'宣告
Protected Function GetProperties ( _
attributes As Attribute() _
) As PropertyDescriptorCollection
protected PropertyDescriptorCollection GetProperties(
Attribute[] attributes
)
protected:
PropertyDescriptorCollection^ GetProperties(
array<Attribute^>^ attributes
)
member GetProperties :
attributes:Attribute[] -> PropertyDescriptorCollection
protected function GetProperties(
attributes : Attribute[]
) : PropertyDescriptorCollection
參數
attributes
類型:array<Attribute[]用於型別的陣列, Attribute 所傳回之的屬性為基礎的篩選條件定義。
傳回值
類型:PropertyDescriptorCollection
傳回目前已知的屬性描述項集合符合指定的屬性集。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。