AssociatedMetadataProvider.FilterAttributes 方法

定义

获取特性的列表。

protected virtual System.Collections.Generic.IEnumerable<Attribute> FilterAttributes (Type containerType, System.ComponentModel.PropertyDescriptor propertyDescriptor, System.Collections.Generic.IEnumerable<Attribute> attributes);
abstract member FilterAttributes : Type * System.ComponentModel.PropertyDescriptor * seq<Attribute> -> seq<Attribute>
override this.FilterAttributes : Type * System.ComponentModel.PropertyDescriptor * seq<Attribute> -> seq<Attribute>
Protected Overridable Function FilterAttributes (containerType As Type, propertyDescriptor As PropertyDescriptor, attributes As IEnumerable(Of Attribute)) As IEnumerable(Of Attribute)

参数

containerType
Type

容器的类型。

propertyDescriptor
PropertyDescriptor

属性描述符。

attributes
IEnumerable<Attribute>

特性容器。

返回

特性列表。

适用于