Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Returns a link for the specified route.
Namespace: System.Web.Http.Routing
Assembly: System.Web.Http (in System.Web.Http.dll)
Syntax
'Declaration
Public Overridable Function Link ( _
routeName As String, _
routeValues As Object _
) As String
'Usage
Dim instance As UrlHelper
Dim routeName As String
Dim routeValues As Object
Dim returnValue As String
returnValue = instance.Link(routeName, _
routeValues)
public virtual string Link(
string routeName,
Object routeValues
)
public:
virtual String^ Link(
String^ routeName,
Object^ routeValues
)
abstract Link :
routeName:string *
routeValues:Object -> string
override Link :
routeName:string *
routeValues:Object -> string
public function Link(
routeName : String,
routeValues : Object
) : String
Parameters
- routeName
Type: System.String
The name of the route.
- routeValues
Type: System.Object
A route value.
Return Value
Type: System.String
A link for the specified route.