ViewResultExecutor.FindView(ActionContext, ViewResult) 方法

定义

尝试查找 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

参数

actionContext
ActionContext

ActionContext 当前请求关联的 。

viewResult
ViewResult

ViewResult

返回

一个 ViewEngineResult

适用于