Compartilhar via


AssociatedMetadataProvider.FilterAttributes Método

Definição

Obtém uma lista de atributos.

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)

Parâmetros

containerType
Type

O tipo do recipiente.

propertyDescriptor
PropertyDescriptor

O descritor da propriedade.

attributes
IEnumerable<Attribute>

O contêiner do atributo.

Retornos

Uma lista de atributos.

Aplica-se a