Export (0) Print
Expand All

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)

public function HttpRouteUrl(
	routeName : String, 
	routeValues : Object
) : String

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:
© 2014 Microsoft