Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
FindView Method
Collapse the table of content
Expand the table of content

ViewResult.FindView Method (ControllerContext)

 

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)

No code example is currently available or this language may not be supported.

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.

Exception Condition
InvalidOperationException

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

Return to top
Show:
© 2015 Microsoft