共用方式為


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 安全性

請參閱

參考

DataConnectionProperties 類別

GetProperties 多載

Microsoft.VisualStudio.Data 命名空間