AssociatedMetadataProvider.FilterAttributes Yöntem
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
Türetilmiş sınıfların öznitelik listesini filtrelemesine olanak sağlar.
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)
Parametreler
- containerType
- Type
Kapsayıcının türü.
- propertyDescriptor
- PropertyDescriptor
Özellik tanımlayıcı.
- attributes
- IEnumerable<Attribute>
Öznitelikler.
Döndürülenler
Özniteliklerin listesi.
Açıklamalar
AssociatedMetadataProviderTemel sınıftaki kod tüm öznitelikleri döndürür. Bu yöntem, türetilmiş sınıfların öznitelikleri filtrelemesine olanak sağlar.