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)

public object Model { 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.

Return to top
Show: