UrlHelper::Link Method

 

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

NameDescription
System_CAPS_pubmethodLink(String^, IDictionary<String^, Object^>^)

Returns a link for the specified route.

System_CAPS_pubmethodLink(String^, Object^)

Returns a link for the specified route.

Return to top

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.

Return Value

Type: System::String^

A link for the specified route.

Return to top

UrlHelper::Link Method (String^, Object^)

Returns a link for the specified route.

public:
virtual String^ Link(
	String^ routeName,
	Object^ routeValues
)

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.

Return to top
Show: