AssociatedMetadataProvider.FilterAttributes Method
Gets a list of attributes.
Namespace: System.Web.Mvc
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
'Declaration Protected Overridable Function FilterAttributes ( _ containerType As Type, _ propertyDescriptor As PropertyDescriptor, _ attributes As IEnumerable(Of Attribute) _ ) As IEnumerable(Of Attribute) 'Usage Dim containerType As Type Dim propertyDescriptor As PropertyDescriptor Dim attributes As IEnumerable(Of Attribute) Dim returnValue As IEnumerable(Of Attribute) returnValue = Me.FilterAttributes(containerType, _ propertyDescriptor, attributes)
Parameters
- containerType
- Type: System.Type
The type of the container.
- propertyDescriptor
- Type: System.ComponentModel.PropertyDescriptor
The property descriptor.
- attributes
- Type: System.Collections.Generic.IEnumerable(Of Attribute)
The attribute container.
Show: