RequestContext.RouteData Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Gets information about the requested route.

Namespace:   System.Web.Routing
Assembly:  System.Web (in System.Web.dll)

public virtual RouteData RouteData { get; set; }

Property Value

Type: System.Web.Routing.RouteData

An object that contains information about the requested route.

To set the RouteData property, you must pass the value as a parameter when you call the RequestContext(HttpContextBase, RouteData) constructor.

.NET Framework
Available since 3.5
Return to top