The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
UrlHelper.Route Method
Namespace:
System.Web.Http.Routing
Assembly: System.Web.Http (in System.Web.Http.dll)
| Name | Description | |
|---|---|---|
![]() | Route(String, IDictionary(Of String, Object)) | Returns the route for the UrlHelper. |
![]() | Route(String, Object) | Returns the route for the UrlHelper. |
UrlHelper.Route Method (String, IDictionary(Of String, Object))
Returns the route for the UrlHelper.
Public Overridable Function Route ( routeName As String, routeValues As IDictionary(Of String, Object) ) As String
Parameters
- routeName
-
Type:
System.String
The name of the route.
- routeValues
-
Type:
System.Collections.Generic.IDictionary(Of String, Object)
A list of route values.
UrlHelper.Route Method (String, Object)
Returns the route for the UrlHelper.
Public Overridable Function Route ( routeName As String, routeValues As Object ) As String
Parameters
- routeName
-
Type:
System.String
The name of the route.
- routeValues
-
Type:
System.Object
The route values.
Show:
