UrlHelper.HttpRouteUrl UrlHelper.HttpRouteUrl UrlHelper.HttpRouteUrl Method

Definition

Overloads

HttpRouteUrl(String, Object) HttpRouteUrl(String, Object) HttpRouteUrl(String, Object)

Generates a fully qualified URL for the specified route values.

HttpRouteUrl(String, RouteValueDictionary) HttpRouteUrl(String, RouteValueDictionary) HttpRouteUrl(String, RouteValueDictionary)

Generates a fully qualified URL for the specified route values.

HttpRouteUrl(String, Object) HttpRouteUrl(String, Object) HttpRouteUrl(String, Object)

Generates a fully qualified URL for the specified route values.

public virtual string HttpRouteUrl (string routeName, object routeValues);
abstract member HttpRouteUrl : string * obj -> string
override this.HttpRouteUrl : string * obj -> string
Public Overridable Function HttpRouteUrl (routeName As String, routeValues As Object) As String

Parameters

routeName
String String String

The route name.

routeValues
Object Object Object

The route values.

Returns

A fully qualified URL for the specified route values.

HttpRouteUrl(String, RouteValueDictionary) HttpRouteUrl(String, RouteValueDictionary) HttpRouteUrl(String, RouteValueDictionary)

Generates a fully qualified URL for the specified route values.

public virtual string HttpRouteUrl (string routeName, System.Web.Routing.RouteValueDictionary routeValues);
abstract member HttpRouteUrl : string * System.Web.Routing.RouteValueDictionary -> string
override this.HttpRouteUrl : string * System.Web.Routing.RouteValueDictionary -> string
Public Overridable Function HttpRouteUrl (routeName As String, routeValues As RouteValueDictionary) As String

Parameters

routeName
String String String

The route name.

Returns

A fully qualified URL for the specified route values.

Applies to