AssociatedMetadataProvider.GetMetadataForProperty Method (Func(Object), Type, String)
Returns the metadata for the specified property using the container type and property name.
Namespace: System.Web.Mvc
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
public override function GetMetadataForProperty( modelAccessor : Func<Object>, containerType : Type, propertyName : String ) : ModelMetadata
Parameters
- modelAccessor
- Type: System.Func(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.Mvc.ModelMetadataThe metadata for the specified property using the container type and property name.
Show: