ViewResultExecutor.FindView(ActionContext, ViewResult) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Attempts to find the IView associated with 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
Parameters
- actionContext
- ActionContext
The ActionContext associated with the current request.
- viewResult
- ViewResult
The ViewResult.