ModelMetadataProvider.GetMetadataForProperty Method (Func(Of Object), Type, String)

.NET Framework (current version)
 

Returns metadata for the specified property.

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

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 name of the property.

Return Value

Type: System.Web.ModelBinding.ModelMetadata

Metadata for the specified property.

.NET Framework
Available since 4.5
Return to top
Show: