共用方式為


PageRouteModel 建構函式

定義

多載

PageRouteModel(PageRouteModel)

的複製建構函式 PageRouteModel

PageRouteModel(String, String)

初始化 PageRouteModel 的新執行個體。

PageRouteModel(String, String, String)

初始化 PageRouteModel 的新執行個體。

PageRouteModel(PageRouteModel)

來源:
PageRouteModel.cs
來源:
PageRouteModel.cs
來源:
PageRouteModel.cs

的複製建構函式 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.cs
來源:
PageRouteModel.cs
來源:
PageRouteModel.cs

初始化 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.cs
來源:
PageRouteModel.cs
來源:
PageRouteModel.cs

初始化 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

區功能變數名稱稱。

適用於