Export (0) Print
Expand All

WebFormView Constructor (ControllerContext, String, String, IViewPageActivator)

Initializes a new instance of the WebFormView class using the controller context, view path, the path to the master page, and a IViewPageActivator instance.

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

public WebFormView(
	ControllerContext controllerContext,
	string viewPath,
	string masterPath,
	IViewPageActivator viewPageActivator
)

Parameters

controllerContext
Type: System.Web.Mvc.ControllerContext

The controller context.

viewPath
Type: System.String

The view path.

masterPath
Type: System.String

The path to the master page.

viewPageActivator
Type: System.Web.Mvc.IViewPageActivator

An instance of the view page activator interface.

Show:
© 2014 Microsoft