HtmlHelper.ViewContext Property

Gets or sets the context information about the view.

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

'Declaration
Public Property ViewContext As ViewContext 
	Get 
	Private Set
'Usage
Dim instance As HtmlHelper 
Dim value As ViewContext 

value = instance.ViewContext

Property Value

Type: System.Web.Mvc.ViewContext
The context of the view.

The ViewContext instance that is returned by this property contains information that is related to rendering a view. This includes the view's ViewDataDictionary and TempDataDictionary objects.

Show: