HtmlHelper(TModel) Constructor (ViewContext, IViewDataContainer)

Visual Studio 2010

Initializes a new instance of the HtmlHelper(TModel) class by using the specified view context and view data container.

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

No code example is currently available or this language may not be supported.

Parameters

viewContext
Type: System.Web.Mvc.ViewContext
The view context.
viewDataContainer
Type: System.Web.Mvc.IViewDataContainer
The view data container.

Community Additions

ADD
Show: