Udostępnij za pośrednictwem


ViewResultExecutor.FindView(ActionContext, ViewResult) Metoda

Definicja

Próbuje znaleźć element skojarzony z elementem IViewviewResult.

public:
 virtual Microsoft::AspNetCore::Mvc::ViewEngines::ViewEngineResult ^ FindView(Microsoft::AspNetCore::Mvc::ActionContext ^ actionContext, Microsoft::AspNetCore::Mvc::ViewResult ^ viewResult);
public virtual Microsoft.AspNetCore.Mvc.ViewEngines.ViewEngineResult FindView (Microsoft.AspNetCore.Mvc.ActionContext actionContext, Microsoft.AspNetCore.Mvc.ViewResult viewResult);
abstract member FindView : Microsoft.AspNetCore.Mvc.ActionContext * Microsoft.AspNetCore.Mvc.ViewResult -> Microsoft.AspNetCore.Mvc.ViewEngines.ViewEngineResult
override this.FindView : Microsoft.AspNetCore.Mvc.ActionContext * Microsoft.AspNetCore.Mvc.ViewResult -> Microsoft.AspNetCore.Mvc.ViewEngines.ViewEngineResult
Public Overridable Function FindView (actionContext As ActionContext, viewResult As ViewResult) As ViewEngineResult

Parametry

actionContext
ActionContext

Element ActionContext skojarzony z bieżącym żądaniem.

viewResult
ViewResult

Element ViewResult.

Zwraca

Klasa ViewEngineResult.

Dotyczy