ViewResult.FindView Method
Searches the registered view engines and returns the object that is used to render the view.
Namespace: System.Web.Mvc
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
'Declaration Protected Overrides Function FindView ( _ context As ControllerContext _ ) As ViewEngineResult 'Usage Dim context As ControllerContext Dim returnValue As ViewEngineResult returnValue = Me.FindView(context)
Parameters
- context
- Type: System.Web.Mvc.ControllerContext
The controller context.
| Exception | Condition |
|---|---|
| InvalidOperationException | An error occurred while the method was searching for the view. |
Show: