Table of Contents

Class RouteEntry

Namespace
System.Web.Mvc.Routing
Assembly
System.Web.Mvc.dll

Represents a named route.

public class RouteEntry
Inheritance
RouteEntry
Inherited Members

Constructors

RouteEntry(string, Route)

Initializes a new instance of the RouteEntry class.

public RouteEntry(string name, Route route)

Parameters

name string

The route name.

route Route

The route.

Properties

Name

Gets the route name.

public string Name { get; }

Property Value

string

The route name, if any; otherwise, null.

Route

Gets the route.

public Route Route { get; }

Property Value

Route

The route.