ViewResult.FindView(ControllerContext) 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.
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
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.