UrlHelper::Link Method
Namespace:
System.Web.Http.Routing
Assembly: System.Web.Http (in System.Web.Http.dll)
| Name | Description | |
|---|---|---|
![]() | Link(String^, IDictionary<String^, Object^>^) | Returns a link for the specified route. |
![]() | Link(String^, Object^) | Returns a link for the specified route. |
UrlHelper::Link Method (String^, IDictionary<String^, Object^>^)
Returns a link for the specified route.
public: virtual String^ Link( String^ routeName, IDictionary<String^, Object^>^ routeValues )
Parameters
- routeName
-
Type:
System::String^
The name of the route.
- routeValues
-
Type:
System.Collections.Generic::IDictionary<String^, Object^>^
An object that contains the parameters for a route.
UrlHelper::Link Method (String^, Object^)
Returns a link for the specified route.
Parameters
- routeName
-
Type:
System::String^
The name of the route.
- routeValues
-
Type:
System::Object^
A route value.
Show:
