HtmlHelper<TModel> Constructor

Include Protected Members
Include Inherited Members

Initializes a new instance of the HtmlHelper<TModel> 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<TModel>(ViewContext, IViewDataContainer) Initializes a new instance of the HtmlHelper<TModel> class by using the specified view context and view data container.
Public method HtmlHelper<TModel>(ViewContext, IViewDataContainer, RouteCollection) Initializes a new instance of the HtmlHelper<TModel> class by using the specified view context, view data container, and route collection.

Top

See Also

Reference

HtmlHelper<TModel> Class

System.Web.Mvc Namespace