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 命名空间