PartialViewResult.FindView(ControllerContext) Method

Definition

Returns the ViewEngineResult object that is used to render the view.

protected override System.Web.Mvc.ViewEngineResult FindView (System.Web.Mvc.ControllerContext context);
override this.FindView : System.Web.Mvc.ControllerContext -> System.Web.Mvc.ViewEngineResult
Protected Overrides Function FindView (context As ControllerContext) As ViewEngineResult

Parameters

context
ControllerContext

The controller context.

Returns

The view engine result.

Exceptions

An error occurred while the method was attempting to find the view.

Applies to