ViewDataDictionary.Model Property

Gets or sets the model that is associated with the view data.

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

function get Model () : Object 
function set Model (value : Object)

Property Value

Type: System.Object
The model that is associated with the view data.

This property is set in order to support strongly-typed views.

Show: