检索当前所有已知的属性说明符的集合。
命名空间: 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 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关详细信息,请参阅通过部分受信任的代码使用库。