WebViewPage(TModel).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)

member ViewData : ViewDataDictionary<'TModel> with get, set

Property Value

Type: System.Web.Mvc.ViewDataDictionary(TModel)
A dictionary that contains data to pass between the controller and the view.
Show: