WebViewPage(Of 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)

'Declaration
Public Property ViewData As ViewDataDictionary(Of TModel)
	Get 
	Set
'Usage
Dim instance As WebViewPage 
Dim value As ViewDataDictionary(Of TModel)

value = instance.ViewData

instance.ViewData = value

Property Value

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