Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
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:
© 2015 Microsoft