VirtualPathProviderViewEngine.CreateView 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.
Creates the specified view by using the controller context, path of the view, and path of the master view.
protected abstract System.Web.Mvc.IView CreateView (System.Web.Mvc.ControllerContext controllerContext, string viewPath, string masterPath);
abstract member CreateView : System.Web.Mvc.ControllerContext * string * string -> System.Web.Mvc.IView
Protected MustOverride Function CreateView (controllerContext As ControllerContext, viewPath As String, masterPath As String) As IView
Parameters
- controllerContext
- ControllerContext
The controller context.
- viewPath
- String
The path of the view.
- masterPath
- String
The path of the master view.
Returns
A reference to the view.