VirtualPathProviderViewEngine.CreateView Method

Visual Studio 2010

Creates the specified view by using the controller context, path of the view, and path of the master 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

controllerContext
Type: System.Web.Mvc.ControllerContext
The controller context.
viewPath
Type: System.String
The path of the view.
masterPath
Type: System.String
The path of the master view.

Return Value

Type: System.Web.Mvc.IView
A reference to the view.

Community Additions

ADD
Show: