UrlHelper.Route Method (String, Object)

Returns the route for the UrlHelper.

Namespace:  System.Web.Http.Routing
Assembly:  System.Web.Http (in System.Web.Http.dll)

public string Route(
	string routeName,
	Object routeValues
)

Parameters

routeName
Type: System.String
The name of the route.
routeValues
Type: System.Object
The route values.

Return Value

Type: System.String
The route for the UrlHelper.
Show: