共用方式為


RequestContext.RouteData 屬性

定義

取得有關所要求路由的資訊。

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

屬性值

RouteData

物件,包含有關所要求路由的資訊。

備註

若要設定 RouteData 屬性,當您呼叫此函式時,您必須傳遞值做為參數 RequestContext(HttpContextBase, RouteData)

適用於