IRazorViewEngine.GetPage(String, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the page with the given pagePath
, relative to executingFilePath
unless pagePath
is already absolute.
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
Parameters
- executingFilePath
- String
The absolute path to the currently-executing page, if any.
- pagePath
- String
The path to the page.
Returns
The RazorPageResult of locating the page.
Remarks
.