WebFormView Constructor
Initializes a new instance of the WebFormView class.
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
| Name | Description | |
|---|---|---|
![]() | WebFormView(ControllerContext, String) | Initializes a new instance of the WebFormView class using the controller context and view path. |
![]() | 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) | 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 Constructor (ControllerContext, String)
Initializes a new instance of the WebFormView class using the controller context and view path.
Parameters
- controllerContext
-
Type:
System.Web.Mvc.ControllerContext
The controller context.
- viewPath
-
Type:
System.String
The view path.
WebFormView Constructor (ControllerContext, String, String)
Initializes a new instance of the WebFormView class using the controller context, view path, and the path to the master page.
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.
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.
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.
