PageRouteModel 构造函数

定义

重载

PageRouteModel(PageRouteModel)

PageRouteModel复制构造函数。

PageRouteModel(String, String)

初始化 PageRouteModel 的新实例。

PageRouteModel(String, String, String)

初始化 PageRouteModel 的新实例。

PageRouteModel(PageRouteModel)

Source:
PageRouteModel.cs
Source:
PageRouteModel.cs
Source:
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)

Source:
PageRouteModel.cs
Source:
PageRouteModel.cs
Source:
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)

Source:
PageRouteModel.cs
Source:
PageRouteModel.cs
Source:
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

区域名称。

适用于