检索当前已知的属性说明符的集合与指定的属性。
命名空间: Microsoft.VisualStudio.Data
程序集: Microsoft.VisualStudio.Data(在 Microsoft.VisualStudio.Data.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<System.Attribute[]
用于类型的数组 Attribute,返回的属性的筛选器定义。
返回值
类型:System.ComponentModel.PropertyDescriptorCollection
返回当前已知的属性的类型描述符的集合与指定的属性。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。