检索当前已知的属性说明符的集合与指定的一组特性。
命名空间: Microsoft.VisualStudio.Data.Framework
程序集: Microsoft.VisualStudio.Data.Framework(在 Microsoft.VisualStudio.Data.Framework.dll 中)
语法
声明
Protected Function GetProperties ( _
attributes As Attribute() _
) As PropertyDescriptorCollection
protected PropertyDescriptorCollection GetProperties(
Attribute[] attributes
)
protected:
PropertyDescriptorCollection^ GetProperties(
array<Attribute^>^ attributes
)
member GetProperties :
attributes:Attribute[] -> PropertyDescriptorCollection
protected function GetProperties(
attributes : Attribute[]
) : PropertyDescriptorCollection
参数
attributes
类型:array<Attribute[]用于 Attribute 类型的数组,则返回的属性的筛选器定义。
返回值
类型:PropertyDescriptorCollection
当前已知的属性说明符的集合与指定的一组特性。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关详细信息,请参阅通过部分受信任的代码使用库。