共用方式為


DataConnectionProperties.GetProperties 方法

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

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

語法

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

傳回值

型別:System.ComponentModel.PropertyDescriptorCollection
傳回所有目前已知屬性描述項集合。

備註

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

.NET Framework 安全性

請參閱

參考

DataConnectionProperties 類別

GetProperties 多載

Microsoft.VisualStudio.Data 命名空間