RouteBase.GetRouteData(HttpContextBase) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
When overridden in a derived class, returns route information about the request.
public:
abstract System::Web::Routing::RouteData ^ GetRouteData(System::Web::HttpContextBase ^ httpContext);
public abstract System.Web.Routing.RouteData GetRouteData (System.Web.HttpContextBase httpContext);
abstract member GetRouteData : System.Web.HttpContextBase -> System.Web.Routing.RouteData
Public MustOverride Function GetRouteData (httpContext As HttpContextBase) As RouteData
Parameters
- httpContext
- HttpContextBase
An object that encapsulates information about the HTTP request.
Returns
An object that contains the values from the route definition if the route matches the current request, or null
if the route does not match the request.
Applies to
See also
التعاون معنا على GitHub
يمكن العثور على مصدر هذا المحتوى على GitHub حيث يمكنك أيضاً إضافة مشاكل وطلبات سحب ومراجعتها. للحصول على معلومات إضافية، اطلع على دليل المساهم لدينا.