HtmlHelperExtensions.Action Method (HtmlHelper, String, String, Object)
Namespace: Microsoft.Web.Mvc.Html
Assembly: Microsoft.Web.Mvc (in Microsoft.Web.Mvc.dll)
Syntax
public static MvcHtmlString Action(
this HtmlHelper htmlHelper,
string actionName,
string controllerName = null,
object routeValues = null
)
public:
[ExtensionAttribute]
static MvcHtmlString^ Action(
HtmlHelper^ htmlHelper,
String^ actionName,
String^ controllerName = null,
Object^ routeValues = null
)
static member Action :
htmlHelper:HtmlHelper *
actionName:string *
controllerName:string = null *
routeValues:Object = null -> MvcHtmlString
<ExtensionAttribute>
Public Shared Function Action (
htmlHelper As HtmlHelper,
actionName As String,
controllerName As String,
routeValues As Object
) As MvcHtmlString
Parameters
- htmlHelper
Type: System.Web.Mvc.HtmlHelper
- actionName
Type: System.String
- controllerName
Type: System.String
- routeValues
Type: System.Object
Return Value
Type: System.Web.Mvc.MvcHtmlString
See Also
HtmlHelperExtensions Class
Microsoft.Web.Mvc.Html Namespace
Return to top