UrlRouteContext Class

Definition

Context object to be used for the URLs that RouteUrl(UrlRouteContext) generates.

public ref class UrlRouteContext
public class UrlRouteContext
type UrlRouteContext = class
Public Class UrlRouteContext
Inheritance
UrlRouteContext

Constructors

UrlRouteContext()

Properties

Fragment

The fragment for the URLs that RouteUrl(UrlRouteContext) generates.

Host

The host name for the URLs that RouteUrl(UrlRouteContext) generates.

Protocol

The protocol for the URLs that RouteUrl(UrlRouteContext) generates, such as "http" or "https"

RouteName

The name of the route that RouteUrl(UrlRouteContext) uses to generate URLs.

Values

The object that contains the route values that RouteUrl(UrlRouteContext) uses to generate URLs.

Applies to