ControllerBase.ViewBag Property

Gets the dynamic view data dictionary.

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

'Declaration
Public ReadOnly Property ViewBag As Object 
	Get
'Usage
Dim instance As ControllerBase 
Dim value As Object 

value = instance.ViewBag

Property Value

Type: System.Object
The dynamic view data dictionary.
Show: