ControllerBase.ViewData Property

Gets or sets the dictionary for view data.

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

member ViewData : ViewDataDictionary with get, set

Property Value

Type: System.Web.Mvc.ViewDataDictionary
The dictionary for the view data.
Show: