PageRouteModel 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
PageRouteModel(PageRouteModel) |
的複製建構函式 PageRouteModel 。 |
PageRouteModel(String, String) |
初始化 PageRouteModel 的新執行個體。 |
PageRouteModel(String, String, String) |
初始化 PageRouteModel 的新執行個體。 |
PageRouteModel(PageRouteModel)
的複製建構函式 PageRouteModel 。
public:
PageRouteModel(Microsoft::AspNetCore::Mvc::ApplicationModels::PageRouteModel ^ other);
public PageRouteModel (Microsoft.AspNetCore.Mvc.ApplicationModels.PageRouteModel other);
new Microsoft.AspNetCore.Mvc.ApplicationModels.PageRouteModel : Microsoft.AspNetCore.Mvc.ApplicationModels.PageRouteModel -> Microsoft.AspNetCore.Mvc.ApplicationModels.PageRouteModel
Public Sub New (other As PageRouteModel)
參數
- other
- PageRouteModel
要複製的來源 PageRouteModel。
適用於
PageRouteModel(String, String)
初始化 PageRouteModel 的新執行個體。
public:
PageRouteModel(System::String ^ relativePath, System::String ^ viewEnginePath);
public PageRouteModel (string relativePath, string viewEnginePath);
new Microsoft.AspNetCore.Mvc.ApplicationModels.PageRouteModel : string * string -> Microsoft.AspNetCore.Mvc.ApplicationModels.PageRouteModel
Public Sub New (relativePath As String, viewEnginePath As String)
參數
- relativePath
- String
頁面的應用程式相對路徑。
- viewEnginePath
- String
相對於頁面探索基底路徑的路徑。
適用於
PageRouteModel(String, String, String)
初始化 PageRouteModel 的新執行個體。
public:
PageRouteModel(System::String ^ relativePath, System::String ^ viewEnginePath, System::String ^ areaName);
public PageRouteModel (string relativePath, string viewEnginePath, string areaName);
public PageRouteModel (string relativePath, string viewEnginePath, string? areaName);
new Microsoft.AspNetCore.Mvc.ApplicationModels.PageRouteModel : string * string * string -> Microsoft.AspNetCore.Mvc.ApplicationModels.PageRouteModel
Public Sub New (relativePath As String, viewEnginePath As String, areaName As String)
參數
- relativePath
- String
頁面的應用程式相對路徑。
- viewEnginePath
- String
相對於頁面探索基底路徑的路徑。
- areaName
- String
區功能變數名稱稱。