ElementTypeDescriptor.GetProperties 方法 (array<Attribute[])

返回包含所有描述类型属性的域属性描述符集合,该集合由指定的属性筛选。

命名空间:  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 安全性

请参阅

参考

ElementTypeDescriptor 类

GetProperties 重载

Microsoft.VisualStudio.Modeling.Design 命名空间