ModelMetadataProvider::GetMetadataForProperty Method (Func<Object^>^, Type^, String^)
Gets metadata for the specified property.
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
public: virtual ModelMetadata^ GetMetadataForProperty( Func<Object^>^ modelAccessor, Type^ containerType, String^ propertyName ) abstract
Parameters
- modelAccessor
-
Type:
System::Func<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.
Show: