AssociatedMetadataProvider.FilterAttributes Method

Gets a list of attributes.

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

abstract FilterAttributes : 
        containerType:Type * 
        propertyDescriptor:PropertyDescriptor * 
        attributes:IEnumerable<Attribute> -> IEnumerable<Attribute> 
override FilterAttributes : 
        containerType:Type * 
        propertyDescriptor:PropertyDescriptor * 
        attributes:IEnumerable<Attribute> -> IEnumerable<Attribute> 

Parameters

containerType
Type: System.Type

The type of the container.

propertyDescriptor
Type: System.ComponentModel.PropertyDescriptor

The property descriptor.

attributes
Type: System.Collections.Generic.IEnumerable(Attribute)

The attribute container.

Return Value

Type: System.Collections.Generic.IEnumerable(Attribute)
A list of attributes.
Show: