AssociatedMetadataProvider.FilterAttributes Method (Type, PropertyDescriptor, IEnumerable<Attribute>)
.NET Framework (current version)
Enables derived classes to filter the list of attributes.
Assembly: System.Web (in System.Web.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 attributes.
The code in the AssociatedMetadataProvider base class returns all attributes. This method lets derived classes filter the attributes.
.NET Framework
Available since 4.5
Available since 4.5
Show: