CreateView Method
Collapse the table of content
Expand the table of content

WebFormViewEngine.CreateView Method (ControllerContext, String, String)

 

Creates the specified view by using the specified controller context and the paths of the view and master view.

Namespace:   System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)

protected override IView CreateView(
	ControllerContext controllerContext,
	string viewPath,
	string masterPath
)

Parameters

controllerContext
Type: System.Web.Mvc.ControllerContext

The controller context.

viewPath
Type: System.String

The view path.

masterPath
Type: System.String

The master-view path.

Return Value

Type: System.Web.Mvc.IView

The view.

Return to top
Show:
© 2016 Microsoft