PartialViewResultExecutor.FindView(ActionContext, PartialViewResult) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
尝试查找 IView 与 viewResult
关联的 。
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
参数
- actionContext
- ActionContext
ActionContext与当前请求关联的 。
- viewResult
- PartialViewResult
返回
一个 ViewEngineResult。