Control.GetRouteUrl Method
.NET Framework (current version)
Gets the URL that corresponds to a set of route parameters, and optionally to a route name.
Assembly: System.Web (in System.Web.dll)
| Name | Description | |
|---|---|---|
![]() | GetRouteUrl(Object) | Gets the URL that corresponds to a set of route parameters. |
![]() | GetRouteUrl(RouteValueDictionary) | Gets the URL that corresponds to a set of route parameters. |
![]() | GetRouteUrl(String, Object) | Gets the URL that corresponds to a set of route parameters and a route name. |
![]() | GetRouteUrl(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.
Show:
