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 string HttpRouteUrl(
	string routeName,
	Object 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:
© 2015 Microsoft