Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

ViewContext::ViewBag Property

Gets the dynamic view data dictionary.

Namespace:  System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)
public:
property Object^ ViewBag {
	Object^ get ();
}

Property Value

Type: System::Object
The dynamic view data dictionary.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.