共用方式為


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>

屬性容器。

傳回

屬性清單。

適用於