ModelMetadataProvider.GetMetadataForType Method
Visual Studio 2010
Gets metadata for the specified model accessor and model type.
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
'Declaration Public MustOverride Function GetMetadataForType ( _ modelAccessor As Func(Of Object), _ modelType As Type _ ) As ModelMetadata
Parameters
- modelAccessor
- Type: System.Func(Of Object)
The model accessor.
- modelType
- Type: System.Type
They type of the model.
Community Additions
ADD
Show: