ModelMetadataProvider.GetMetadataForProperty Method
Visual Studio 2010
Gets metadata for the specified property.
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
'Declaration Public MustOverride Function GetMetadataForProperty ( _ modelAccessor As Func(Of Object), _ containerType As Type, _ propertyName As String _ ) As ModelMetadata
Parameters
- modelAccessor
- Type: System.Func(Of Object)
The model accessor.
- containerType
- Type: System.Type
The type of the container.
- propertyName
- Type: System.String
The property to get the metadata model for.
Community Additions
ADD
Show: