Compartir a través de


RazorViewEngine.CreateView(ControllerContext, String, String) Método

Definición

Crea una vista mediante el contexto de controlador especificado y las rutas de acceso de la vista y la vista maestra.

protected override System.Web.Mvc.IView CreateView (System.Web.Mvc.ControllerContext controllerContext, string viewPath, string masterPath);
override this.CreateView : System.Web.Mvc.ControllerContext * string * string -> System.Web.Mvc.IView
Protected Overrides Function CreateView (controllerContext As ControllerContext, viewPath As String, masterPath As String) As IView

Parámetros

controllerContext
ControllerContext

Contexto del controlador.

viewPath
String

Ruta de acceso a la vista.

masterPath
String

Ruta de acceso a la vista maestra.

Devoluciones

La vista.

Se aplica a