Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

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.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.