GetRouteUrl Method
Collapse the table of content
Expand the table of content

Control.GetRouteUrl Method

.NET Framework (current version)
 

Gets the URL that corresponds to a set of route parameters, and optionally to a route name.

Namespace:   System.Web.UI
Assembly:  System.Web (in System.Web.dll)

NameDescription
System_CAPS_pubmethodGetRouteUrl(Object)

Gets the URL that corresponds to a set of route parameters.

System_CAPS_pubmethodGetRouteUrl(RouteValueDictionary)

Gets the URL that corresponds to a set of route parameters.

System_CAPS_pubmethodGetRouteUrl(String, Object)

Gets the URL that corresponds to a set of route parameters and a route name.

System_CAPS_pubmethodGetRouteUrl(String, RouteValueDictionary)

Gets the URL that corresponds to a set of route parameters and a route name.

This method is provided for coding convenience. It is equivalent to calling the RouteCollection.GetVirtualPath method.

Return to top
Show:
© 2016 Microsoft