Sdílet prostřednictvím


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

See Also

Reference

LinkExtensions Class

System.Web.Mvc.Html Namespace