IRazorViewEngine.GetPage(String, String) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
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 à
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour