Export (0) Print
Expand All

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