Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

VirtualPathProviderViewEngine.CreateView Method (ControllerContext, String, String)


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)

protected abstract IView CreateView(
	ControllerContext controllerContext,
	string viewPath,
	string masterPath


Type: System.Web.Mvc.ControllerContext

The controller context.

Type: System.String

The path of the view.

Type: System.String

The path of the master view.

Return Value

Type: System.Web.Mvc.IView

A reference to the view.

Return to top
© 2015 Microsoft