อ่านในภาษาอังกฤษ แก้ไข

แชร์ผ่าน


RouteCollection.GetRouteData(HttpContextBase) Method

Definition

Returns information about the route in the collection that matches the specified values.

C#
public System.Web.Routing.RouteData GetRouteData(System.Web.HttpContextBase httpContext);

Parameters

httpContext
HttpContextBase

An object that encapsulates information about the HTTP request.

Returns

An object that contains the values from the route definition.

Exceptions

context is null.

The Request property of the object in the context parameter is null.

Applies to

ผลิตภัณฑ์ เวอร์ชัน
.NET Framework 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

See also