Share via


IRazorViewEngine.GetPage(String, String) Méthode

Définition

Obtient la page avec le donné pagePath, par rapport à executingFilePath , sauf si pagePath est déjà absolu.

public:
 Microsoft::AspNetCore::Mvc::Razor::RazorPageResult GetPage(System::String ^ executingFilePath, System::String ^ pagePath);
public Microsoft.AspNetCore.Mvc.Razor.RazorPageResult GetPage (string executingFilePath, string pagePath);
abstract member GetPage : string * string -> Microsoft.AspNetCore.Mvc.Razor.RazorPageResult
Public Function GetPage (executingFilePath As String, pagePath As String) As RazorPageResult

Paramètres

executingFilePath
String

Chemin absolu de la page en cours d’exécution, le cas échéant.

pagePath
String

Chemin d’accès à la page.

Retours

de RazorPageResult localisation de la page.

Remarques

.

S’applique à