ViewDataDictionary.Model Property

Visual Studio 2010

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)

'Declaration
Public Property Model As Object
	Get
	Set

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.

Community Additions

ADD
Show: