Export (0) Print
Expand All

ViewPage<TModel>.Model Property

Gets the Model property of the ViewDataDictionary<TModel> object.

Namespace:  System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)

public TModel Model { get; }

Property Value

Type: TModel
A reference to the data model.

This property is for convenience in accessing the Model property of the ViewDataDictionary<TModel> object.

Community Additions

Show:
© 2014 Microsoft