LinkExtensions Class

Represents support for HTML links in an application.

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

<ExtensionAttribute> _
Public NotInheritable Class LinkExtensions
You do not need to declare an instance of a static class in order to access its members.

The LinkExtensions class contains extension 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, which could 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.

Community Additions