Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Model Property

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:
© 2015 Microsoft