Export (0) Print
Expand All

HtmlHelper.GenerateLink Method

Generates an HTML anchor element (a element) that links to an action method.

  NameDescription
Public method Static member GenerateLink(RequestContext, RouteCollection, String, String, String, String, RouteValueDictionary, IDictionary<String, Object>) Generates an HTML anchor element (a element) that links to the specified action method.
Public method Static member GenerateLink(RequestContext, RouteCollection, String, String, String, String, String, String, String, RouteValueDictionary, IDictionary<String, Object>) Generates an HTML anchor element (a element) that links to the specified action method.
Top

The LinkExtensions class contains an ActionLink method with several overloads that provide additional options for creating links to action methods.

Community Additions

Show:
© 2014 Microsoft