LinkExtensions.RouteLink Method

Include Protected Members
Include Inherited Members

Returns an anchor element (a element) that contains the virtual path of the specified action.

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 RouteLink(HtmlHelper, String, Object) Returns an anchor element (a element) that contains the virtual path of the specified action.
Public methodStatic member RouteLink(HtmlHelper, String, String) Returns an anchor element (a element) that contains the virtual path of the specified action.
Public methodStatic member RouteLink(HtmlHelper, String, RouteValueDictionary) Returns an anchor element (a element) that contains the virtual path of the specified action.
Public methodStatic member RouteLink(HtmlHelper, String, Object, Object) Returns an anchor element (a element) that contains the virtual path of the specified action.
Public methodStatic member RouteLink(HtmlHelper, String, String, Object) Returns an anchor element (a element) that contains the virtual path of the specified action.
Public methodStatic member RouteLink(HtmlHelper, String, String, RouteValueDictionary) Returns an anchor element (a element) that contains the virtual path of the specified action.
Public methodStatic member RouteLink(HtmlHelper, String, RouteValueDictionary, IDictionary<String, Object>) Returns an anchor element (a element) that contains the virtual path of the specified action.
Public methodStatic member RouteLink(HtmlHelper, String, String, Object, Object) Returns an anchor element (a element) that contains the virtual path of the specified action.
Public methodStatic member RouteLink(HtmlHelper, String, String, RouteValueDictionary, IDictionary<String, Object>) Returns an anchor element (a element) that contains the virtual path of the specified action.
Public methodStatic member RouteLink(HtmlHelper, String, String, String, String, String, Object, Object) Returns an anchor element (a element) that contains the virtual path of the specified action.
Public methodStatic member RouteLink(HtmlHelper, String, String, String, String, String, RouteValueDictionary, IDictionary<String, Object>) Returns an anchor element (a element) that contains the virtual path of the specified action.

Top

Remarks

The RouteLink method renders an element that links to a URL, which can resolve to an action method, a file, a folder, or some other resource.

See Also

Reference

LinkExtensions Class

System.Web.Mvc.Html Namespace