Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the type of the model.
Namespace: System.Web.Mvc
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
Syntax
'Declaration
Public ReadOnly Property ModelType As Type
Get
public Type ModelType { get; }
public:
property Type^ ModelType {
Type^ get ();
}
Property Value
Type: System.Type
The type of the model.
Remarks
If the model came from a lambda expression, the model can be null reference (Nothing in Visual Basic) and this property returns the type of the model.