Export (0) Print
Expand All

HtmlHelper.ViewData Property

Gets the current view data dictionary.

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

Public ReadOnly Property ViewData As ViewDataDictionary 
Dim instance As HtmlHelper 
Dim value As ViewDataDictionary 

value = instance.ViewData

Property Value

Type: System.Web.Mvc.ViewDataDictionary
The view data dictionary.

The ViewDataDictionary instance that is returned by this property contains the data that is required in order to render a view.

© 2015 Microsoft