VirtualPathProviderViewEngine.CreateView Method
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)
'Declaration Protected MustOverride Function CreateView ( _ controllerContext As ControllerContext, _ viewPath As String, _ masterPath As String _ ) As IView 'Usage Dim controllerContext As ControllerContext Dim viewPath As String Dim masterPath As String Dim returnValue As IView returnValue = Me.CreateView(controllerContext, _ viewPath, masterPath)
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.
Show: