CompositeViewEngine.GetView(String, String, Boolean) Metoda

Definice

Získá zobrazení s daným viewPathvzhledem k executingFilePath tomu, pokud viewPath již není absolutní.

public:
 virtual Microsoft::AspNetCore::Mvc::ViewEngines::ViewEngineResult ^ GetView(System::String ^ executingFilePath, System::String ^ viewPath, bool isMainPage);
public Microsoft.AspNetCore.Mvc.ViewEngines.ViewEngineResult GetView (string executingFilePath, string viewPath, bool isMainPage);
public Microsoft.AspNetCore.Mvc.ViewEngines.ViewEngineResult GetView (string? executingFilePath, string viewPath, bool isMainPage);
abstract member GetView : string * string * bool -> Microsoft.AspNetCore.Mvc.ViewEngines.ViewEngineResult
override this.GetView : string * string * bool -> Microsoft.AspNetCore.Mvc.ViewEngines.ViewEngineResult
Public Function GetView (executingFilePath As String, viewPath As String, isMainPage As Boolean) As ViewEngineResult

Parametry

executingFilePath
String

Absolutní cesta k aktuálně spouštěném zobrazení, pokud existuje.

viewPath
String

Cesta k zobrazení.

isMainPage
Boolean

Určuje, jestli je stránka nalezená jako hlavní stránka akce.

Návraty

ViewEngineResult

Umístění ViewEngineResult zobrazení

Implementuje

Platí pro