Route Method (String, IDictionary(String, Object))
Collapse the table of content
Expand the table of content

UrlHelper.Route Method (String, IDictionary<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,
	IDictionary<string, Object> routeValues
)

Parameters

routeName
Type: System.String
The name of the route.
routeValues
Type: System.Collections.Generic.IDictionary<String, Object>
A list of route values.

Return Value

Type: System.String
The route for the UrlHelper.
Show:
© 2016 Microsoft