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