共用方式為


ActionContext.RouteData 屬性

定義

取得或設定 RouteData 目前要求的 。

public:
 property Microsoft::AspNetCore::Routing::RouteData ^ RouteData { Microsoft::AspNetCore::Routing::RouteData ^ get(); void set(Microsoft::AspNetCore::Routing::RouteData ^ value); };
public Microsoft.AspNetCore.Routing.RouteData RouteData { get; set; }
member this.RouteData : Microsoft.AspNetCore.Routing.RouteData with get, set
Public Property RouteData As RouteData

屬性值

備註

屬性 setter 僅供單元測試之用。

適用於