AssociatedMetadataProvider.FilterAttributes Method

Gets a list of attributes.

Namespace:  System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)

Syntax

'Declaration
Protected Overridable Function FilterAttributes ( _
    containerType As Type, _
    propertyDescriptor As PropertyDescriptor, _
    attributes As IEnumerable(Of Attribute) _
) As IEnumerable(Of Attribute)
protected virtual IEnumerable<Attribute> FilterAttributes(
    Type containerType,
    PropertyDescriptor propertyDescriptor,
    IEnumerable<Attribute> attributes
)
protected:
virtual IEnumerable<Attribute^>^ FilterAttributes(
    Type^ containerType, 
    PropertyDescriptor^ propertyDescriptor, 
    IEnumerable<Attribute^>^ attributes
)

Parameters

  • containerType
    Type: System.Type
    The type of the container.

Return Value

Type: System.Collections.Generic.IEnumerable<Attribute>
A list of attributes.

See Also

Reference

AssociatedMetadataProvider Class

System.Web.Mvc Namespace