ViewResult.FindView(ControllerContext) ViewResult.FindView(ControllerContext) ViewResult.FindView(ControllerContext) Method

Definition

Searches the registered view engines and returns the 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 ControllerContext ControllerContext

The controller context.

Returns

The object that is used to render the view.

Exceptions

An error occurred while the method was searching for the view.

Applies to