Condividi tramite


ViewResultExecutor.FindView(ActionContext, ViewResult) Metodo

Definizione

Tenta di trovare l'oggetto IView associato a viewResult.

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

Parametri

actionContext
ActionContext

Oggetto ActionContext associato alla richiesta corrente.

viewResult
ViewResult

Oggetto ViewResult.

Restituisce

Oggetto ViewEngineResult.

Si applica a