RequestContext.RouteData RequestContext.RouteData RequestContext.RouteData RequestContext.RouteData Property

定義

取得所要求路由的相關資訊。Gets information about the requested route.

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

屬性值

包含所要求路由之相關資訊的物件。An object that contains information about the requested route.

備註

若要設定RouteData屬性,您必須在呼叫此RequestContext(HttpContextBase, RouteData)函式時,傳遞值做為參數。To set the RouteData property, you must pass the value as a parameter when you call the RequestContext(HttpContextBase, RouteData) constructor.

適用於