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.Link Method (String, IDictionary<String, Object>)

Returns a link for the specified route.

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

public string Link(
	string routeName,
	IDictionary<string, Object> routeValues


Type: System.String

The name of the route.

Type: System.Collections.Generic.IDictionary<String, Object>

An object that contains the parameters for a route.

Return Value

Type: System.String
A link for the specified route.
© 2015 Microsoft