Udostępnij za pośrednictwem


PartialViewResultExecutor.FindView(ActionContext, PartialViewResult) 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::PartialViewResult ^ viewResult);
public virtual Microsoft.AspNetCore.Mvc.ViewEngines.ViewEngineResult FindView (Microsoft.AspNetCore.Mvc.ActionContext actionContext, Microsoft.AspNetCore.Mvc.PartialViewResult viewResult);
abstract member FindView : Microsoft.AspNetCore.Mvc.ActionContext * Microsoft.AspNetCore.Mvc.PartialViewResult -> Microsoft.AspNetCore.Mvc.ViewEngines.ViewEngineResult
override this.FindView : Microsoft.AspNetCore.Mvc.ActionContext * Microsoft.AspNetCore.Mvc.PartialViewResult -> Microsoft.AspNetCore.Mvc.ViewEngines.ViewEngineResult
Public Overridable Function FindView (actionContext As ActionContext, viewResult As PartialViewResult) As ViewEngineResult

Parametry

actionContext
ActionContext

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

viewResult
PartialViewResult

Element PartialViewResult.

Zwraca

Klasa ViewEngineResult.

Dotyczy