UrlHelper.HttpRouteUrl Method (String, Object)

Generates a fully qualified URL for the specified route values.

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

'Declaration
Public Function HttpRouteUrl ( _
	routeName As String, _
	routeValues As Object _
) As String
'Usage
Dim instance As UrlHelper 
Dim routeName As String 
Dim routeValues As Object 
Dim returnValue As String 

returnValue = instance.HttpRouteUrl(routeName, _
	routeValues)

Parameters

routeName
Type: System.String

The route name.

routeValues
Type: System.Object

The route values.

Return Value

Type: System.String
A fully qualified URL for the specified route values.
Show: