Share via


HtmlHelper Constructor

Include Protected Members
Include Inherited Members

Initializes a new instance of the HtmlHelper class.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public method HtmlHelper(ViewContext, IViewDataContainer) Initializes a new instance of the HtmlHelper class by using the specified view context and view data container.
Public method HtmlHelper(ViewContext, IViewDataContainer, RouteCollection) Initializes a new instance of the HtmlHelper class by using the specified view context, view data container, and route collection.

Top

See Also

Reference

HtmlHelper Class

System.Web.Mvc Namespace