Export (0) Print
Expand All

BaseDataBoundControl.GetRouteUrl Method

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

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  Name Description
Public method GetRouteUrl(Object) Gets the URL that corresponds to a set of route parameters. (Inherited from Control.)
Public method GetRouteUrl(RouteValueDictionary) Gets the URL that corresponds to a set of route parameters. (Inherited from Control.)
Public method GetRouteUrl(String, Object) Gets the URL that corresponds to a set of route parameters and a route name. (Inherited from Control.)
Public method GetRouteUrl(String, RouteValueDictionary) Gets the URL that corresponds to a set of route parameters and a route name. (Inherited from Control.)
Top

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

Show:
© 2014 Microsoft