AssociatedMetadataProvider.FilterAttributes メソッド

定義

派生クラスによる属性リストのフィルター処理を有効にします。

C#
protected virtual System.Collections.Generic.IEnumerable<Attribute> FilterAttributes(Type containerType, System.ComponentModel.PropertyDescriptor propertyDescriptor, System.Collections.Generic.IEnumerable<Attribute> attributes);

パラメーター

containerType
Type

コンテナーの種類。

propertyDescriptor
PropertyDescriptor

プロパティ記述子。

attributes
IEnumerable<Attribute>

属性。

戻り値

属性の一覧。

注釈

基底クラスのコードは、 AssociatedMetadataProvider すべての属性を返します。 このメソッドを使用すると、派生クラスで属性をフィルター処理できます。

適用対象

製品 バージョン
.NET Framework 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1