Nucleus .Net Core CMS

HtmlHelpers.AreaActionLinkHtmlHelper Class

Namespace: Nucleus.ViewFeatures.HtmlHelpers
Assembly: Nucleus.ViewFeatures.dll
Html helper used to output the path of an area action.

Methods

AreaActionLink (IHtmlHelper,String,String,String,String,Object,Object) Method

AreaActionLink (IHtmlHelper html, String text, String actionName, String controllerName, String areaName, Object routeValues, Object htmlAttributes)
Returns an anchor (a) element that contains a URL path to the specified action, controller and area.
Parameters
Name Type
html Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper
text String

The inner text of the anchor element.

actionName String

The name of the action.

controllerName String

The name of the controller.

areaName String

The name of the area.

routeValues Object

An T:System.Object that contains the parameters for a route. The parameters are retrieved through reflection by examining the properties of the Object. This Object is typically created using Object initializer syntax. Alternatively, an T:System.Collections.Generic.IDictionary`2 instance containing the route parameters.

htmlAttributes Object

An T:System.Object that contains the HTML attributes for the element. Alternatively, an T:System.Collections.Generic.IDictionary`2 instance containing the HTML attributes.