AssociatedMetadataProvider.FilterAttributes メソッド

定義

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

protected:
 virtual System::Collections::Generic::IEnumerable<Attribute ^> ^ FilterAttributes(Type ^ containerType, System::ComponentModel::PropertyDescriptor ^ propertyDescriptor, System::Collections::Generic::IEnumerable<Attribute ^> ^ attributes);
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>

属性。

戻り値

属性の一覧。

注釈

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

適用対象