ViewPage.ViewData Property
Gets or sets a dictionary that contains data to pass between the controller and the view.
Namespace: System.Web.Mvc
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
abstract ViewData : ViewDataDictionary with get, set override ViewData : ViewDataDictionary with get, set
Property Value
Type: System.Web.Mvc.ViewDataDictionaryA dictionary that contains data to pass between the controller and the view.
Implements
IViewDataContainer.ViewData
Show: