UrlHelper.Route Method

 

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

Overload List

Name Description
System_CAPS_pubmethod Route(String, IDictionary<String, Object>)

Returns the route for the UrlHelper.

System_CAPS_pubmethod Route(String, Object)

Returns the route for the UrlHelper.

See Also

UrlHelper Class
System.Web.Http.Routing Namespace

Return to top

UrlHelper.Route Method (String, IDictionary<String, Object>)

Returns the route for the UrlHelper.

Syntax

C#
public virtual string Route(
    string routeName,
    IDictionary<string, object> routeValues
)

Parameters

Return Value

Type: System.String

The route for the UrlHelper.

Return to top

UrlHelper.Route Method (String, Object)

Returns the route for the UrlHelper.

Syntax

C#
public virtual string Route(
    string routeName,
    object routeValues
)

Parameters

Return Value

Type: System.String

The route for the UrlHelper.

Return to top