Partager via


HtmlHelper.GenerateRouteLink Method

Include Protected Members
Include Inherited Members

Generates an HTML anchor element (a element) that links to a URL route.

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 methodStatic member GenerateRouteLink(RequestContext, RouteCollection, String, String, RouteValueDictionary, IDictionary<String, Object>) Generates an HTML anchor element (a element) that links to the specified URL route.
Public methodStatic member GenerateRouteLink(RequestContext, RouteCollection, String, String, String, String, String, RouteValueDictionary, IDictionary<String, Object>) Generates an HTML anchor element (a element) that links to the specified URL route, and enables the user to specify the communication protocol, name of the host, and a URL fragment.

Top

See Also

Reference

HtmlHelper Class

System.Web.Mvc Namespace