This topic has not yet been rated - Rate this topic

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)
protected override ViewEngineResult FindView(
	ControllerContext context
)

Parameters

context
Type: System.Web.Mvc.ControllerContext

The controller context.

Return Value

Type: System.Web.Mvc.ViewEngineResult
The object that is used to render the view.
ExceptionCondition
InvalidOperationException

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

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.