ModelMetadata.ModelType Property
Gets the type of the model.
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
If the model came from a lambda expression, the model can be null and this property returns the type of the model.
Show:
Gets the type of the model.
If the model came from a lambda expression, the model can be null and this property returns the type of the model.