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
当前所有已知的属性说明符的集合。

备注

组已知的当前动态属性;因此,对 AddProperty 的调用和对 RemoveProperty 方法修改此方法返回的集合。 因此,建议不要保存到此集合的引用。

.NET Framework 安全性

请参阅

参考

DataConnectionProperties 类

GetProperties 重载

Microsoft.VisualStudio.Data.Framework 命名空间