HtmlHelper(TModel) Constructor (ViewContext, IViewDataContainer, RouteCollection)

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

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

new : 
        viewContext:ViewContext * 
        viewDataContainer:IViewDataContainer * 
        routeCollection:RouteCollection -> HtmlHelper

Parameters

viewContext
Type: System.Web.Mvc.ViewContext

The view context.

viewDataContainer
Type: System.Web.Mvc.IViewDataContainer

The view data container.

routeCollection
Type: System.Web.Routing.RouteCollection

The route collection.

Show: