返回包含所有描述类型属性的域属性描述符集合,该集合由指定的属性筛选。
命名空间: Microsoft.VisualStudio.Modeling.Design
程序集: Microsoft.VisualStudio.Modeling.Sdk.12.0(在 Microsoft.VisualStudio.Modeling.Sdk.12.0.dll 中)
语法
声明
Public Overrides Function GetProperties ( _
attributes As Attribute() _
) As PropertyDescriptorCollection
public override PropertyDescriptorCollection GetProperties(
Attribute[] attributes
)
参数
- attributes
类型:array<System.Attribute[]
要在其上筛选自定义特性的数组。
返回值
类型:System.ComponentModel.PropertyDescriptorCollection
包含所有描述类型属性的域属性描述符集合,该集合由指定的属性筛选。
实现
ICustomTypeDescriptor.GetProperties(array<Attribute[])
备注
此方法的基本实现不筛选任何元素的属性。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关详细信息,请参阅通过部分受信任的代码使用库。