CompositeViewEngine.FindView(ActionContext, String, Boolean) Metoda

Definice

Najde zobrazení s daným viewName zobrazením pomocí umístění zobrazení a informací z objektu context.

public:
 virtual Microsoft::AspNetCore::Mvc::ViewEngines::ViewEngineResult ^ FindView(Microsoft::AspNetCore::Mvc::ActionContext ^ context, System::String ^ viewName, bool isMainPage);
public Microsoft.AspNetCore.Mvc.ViewEngines.ViewEngineResult FindView (Microsoft.AspNetCore.Mvc.ActionContext context, string viewName, bool isMainPage);
abstract member FindView : Microsoft.AspNetCore.Mvc.ActionContext * string * bool -> Microsoft.AspNetCore.Mvc.ViewEngines.ViewEngineResult
override this.FindView : Microsoft.AspNetCore.Mvc.ActionContext * string * bool -> Microsoft.AspNetCore.Mvc.ViewEngines.ViewEngineResult
Public Function FindView (context As ActionContext, viewName As String, isMainPage As Boolean) As ViewEngineResult

Parametry

context
ActionContext

Hodnota ActionContext

viewName
String

Název nebo cesta zobrazení, které se vykreslí do odpovědi.

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