Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

Route.GetRouteData Method

Returns information about the requested route.

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

public override RouteData GetRouteData(
	HttpContextBase httpContext
)

Parameters

httpContext
Type: System.Web.HttpContextBase

An object that encapsulates information about the HTTP request.

Return Value

Type: System.Web.Routing.RouteData
An object that contains the values from the route definition.

.NET Framework

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