共用方式為


DataConnectionProperties.GetProperties 方法

擷取目前所有已知的屬性描述元集合。

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

語法

'宣告
Protected Function GetProperties As PropertyDescriptorCollection
protected PropertyDescriptorCollection GetProperties()
protected:
PropertyDescriptorCollection^ GetProperties()
member GetProperties : unit -> PropertyDescriptorCollection
protected function GetProperties() : PropertyDescriptorCollection

傳回值

類型:PropertyDescriptorCollection
所有目前已知的屬性描述元集合。

備註

一組目前已知屬性是動態的;因此,呼叫 AddPropertyRemoveProperty 方法修改這個方法傳回的集合。 因此,建議您不要保存到這個集合的參考。

.NET Framework 安全性

請參閱

參考

DataConnectionProperties 類別

GetProperties 多載

Microsoft.VisualStudio.Data.Framework 命名空間