RouteData Property
Collapse the table of content
Expand the table of content

RequestContext.RouteData Property


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
© 2015 Microsoft