Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
LinkExtensions Class

LinkExtensions Class

 

Represents support for HTML links in an application.

Namespace:   System.Web.Mvc.Html
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)

System.Object
  System.Web.Mvc.Html.LinkExtensions

[<AbstractClass>]
[<Sealed>]
type LinkExtensions = class end

The LinkExtensions class contains methods that extend the HtmlHelper class. Each extension method renders an HTML anchor element (a element). The ActionLink method renders an element that links to an action method. The RouteLink method renders an element that links to a URL based on a route. The URL can resolve to an action method, a file, a folder, or some other resource.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show:
© 2015 Microsoft