Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
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

Supported in: 4.6, 4.5, 4, 3.5 SP1
Show:
© 2015 Microsoft