WebFormView WebFormView Constructors

Definition

Overloads

WebFormView(ControllerContext, String) WebFormView(ControllerContext, String)

Initializes a new instance of the WebFormView class using the controller context and view path.

WebFormView(ControllerContext, String, String) WebFormView(ControllerContext, String, String)

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

WebFormView(ControllerContext, String, String, IViewPageActivator) WebFormView(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.

WebFormView(ControllerContext, String) WebFormView(ControllerContext, String)

Initializes a new instance of the WebFormView class using the controller context and view path.

public WebFormView (System.Web.Mvc.ControllerContext controllerContext, string viewPath);
new System.Web.Mvc.WebFormView : System.Web.Mvc.ControllerContext * string -> System.Web.Mvc.WebFormView
Parameters
controllerContext
ControllerContext ControllerContext

The controller context.

viewPath
String String

The view path.

WebFormView(ControllerContext, String, String) WebFormView(ControllerContext, String, String)

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

public WebFormView (System.Web.Mvc.ControllerContext controllerContext, string viewPath, string masterPath);
new System.Web.Mvc.WebFormView : System.Web.Mvc.ControllerContext * string * string -> System.Web.Mvc.WebFormView
Parameters
controllerContext
ControllerContext ControllerContext

The controller context.

viewPath
String String

The view path.

masterPath
String String

The path to the master page.

WebFormView(ControllerContext, String, String, IViewPageActivator) WebFormView(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.

public WebFormView (System.Web.Mvc.ControllerContext controllerContext, string viewPath, string masterPath, System.Web.Mvc.IViewPageActivator viewPageActivator);
new System.Web.Mvc.WebFormView : System.Web.Mvc.ControllerContext * string * string * System.Web.Mvc.IViewPageActivator -> System.Web.Mvc.WebFormView
Parameters
controllerContext
ControllerContext ControllerContext

The controller context.

viewPath
String String

The view path.

masterPath
String String

The path to the master page.

viewPageActivator
IViewPageActivator IViewPageActivator

An instance of the view page activator interface.

Applies to