AssociatedMetadataProvider.GetMetadataForProperty Method (Func(Of Object), Type, PropertyDescriptor)
.NET Framework (current version)
When overridden in a derived class, returns metadata for a property specified by a property descriptor object.
Assembly: System.Web (in System.Web.dll)
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.
.NET Framework
Available since 4.5
Available since 4.5
Show: