UrlHelper.Action Method (String, String)
Generates a fully qualified URL to an action method by using the specified action name and controller name.
Namespace: System.Web.Mvc
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
'Declaration Public Function Action ( _ actionName As String, _ controllerName As String _ ) As String 'Usage Dim instance As UrlHelper Dim actionName As String Dim controllerName As String Dim returnValue As String returnValue = instance.Action(actionName, _ controllerName)
Parameters
- actionName
- Type: System.String
The name of the action method.
- controllerName
- Type: System.String
The name of the controller.
Show: