HtmlHelper(Of TModel) Constructor
Initializes a new instance of the HtmlHelper(Of TModel) class.
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
| Name | Description | |
|---|---|---|
![]() | HtmlHelper(Of TModel)(ViewContext, IViewDataContainer) | Initializes a new instance of the HtmlHelper(Of TModel) class by using the specified view context and view data container. |
![]() | HtmlHelper(Of TModel)(ViewContext, IViewDataContainer, RouteCollection) | Initializes a new instance of the HtmlHelper(Of TModel) class by using the specified view context, view data container, and route collection. |
HtmlHelper(Of TModel) Constructor (ViewContext, IViewDataContainer)
Initializes a new instance of the HtmlHelper(Of TModel) class by using the specified view context and view data container.
Parameters
- viewContext
-
Type:
System.Web.Mvc.ViewContext
The view context.
- viewDataContainer
-
Type:
System.Web.Mvc.IViewDataContainer
The view data container.
HtmlHelper(Of TModel) Constructor (ViewContext, IViewDataContainer, RouteCollection)
Initializes a new instance of the HtmlHelper(Of TModel) class by using the specified view context, view data container, and route collection.
Public Sub New ( viewContext As ViewContext, viewDataContainer As IViewDataContainer, routeCollection As RouteCollection )
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:
