ModelMetadataProvider.GetMetadataForType Method (Func(Of Object), Type)

.NET Framework (current version)
 

Returns metadata for the specified model type.

Namespace:   System.Web.ModelBinding
Assembly:  System.Web (in System.Web.dll)

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

The type of the model.

Return Value

Type: System.Web.ModelBinding.ModelMetadata

Metadata for the specified model type.

.NET Framework
Available since 4.5
Return to top
Show: