AssociatedMetadataProvider::GetMetadataForType Method
Visual Studio 2010
Returns the metadata for the specified property using the type of the model.
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
public: virtual ModelMetadata^ GetMetadataForType( Func<Object^>^ modelAccessor, Type^ modelType ) override
Parameters
- modelAccessor
- Type: System::Func<Object>
The model accessor.
- modelType
- Type: System::Type
The type of the container.
Community Additions
ADD
Show: