編輯

共用方式為


RequestContext.RouteData Property

Definition

Gets information about the requested route.

public:
 property System::Web::Routing::RouteData ^ RouteData { System::Web::Routing::RouteData ^ get(); };
public:
 virtual property System::Web::Routing::RouteData ^ RouteData { System::Web::Routing::RouteData ^ get(); void set(System::Web::Routing::RouteData ^ value); };
public System.Web.Routing.RouteData RouteData { get; }
public virtual System.Web.Routing.RouteData RouteData { get; set; }
member this.RouteData : System.Web.Routing.RouteData
member this.RouteData : System.Web.Routing.RouteData with get, set
Public ReadOnly Property RouteData As RouteData
Public Overridable Property RouteData As RouteData

Property Value

An object that contains information about the requested route.

Remarks

To set the RouteData property, you must pass the value as a parameter when you call the RequestContext(HttpContextBase, RouteData) constructor.

Applies to