AssociatedMetadataProvider.GetMetadataForProperty Method (Func(Of Object), Type, PropertyDescriptor)
Visual Studio 2010
Returns the metadata for the specified property using the container type and property descriptor.
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
'Declaration Protected Overridable Function GetMetadataForProperty ( _ modelAccessor As Func(Of Object), _ containerType As Type, _ propertyDescriptor As PropertyDescriptor _ ) As ModelMetadata
Parameters
- modelAccessor
- Type: System.Func(Of Object)
The model accessor.
- containerType
- Type: System.Type
The type of the container.
- propertyDescriptor
- Type: System.ComponentModel.PropertyDescriptor
The property descriptor.
Community Additions
ADD
Show: