WebFormView Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
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(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
Public Sub New (controllerContext As ControllerContext, viewPath As String)
Parameters
- controllerContext
- ControllerContext
The controller context.
- viewPath
- String
The view path.
Applies to
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
Public Sub New (controllerContext As ControllerContext, viewPath As String, masterPath As String)
Parameters
- controllerContext
- ControllerContext
The controller context.
- viewPath
- String
The view path.
- masterPath
- String
The path to the master page.
Applies to
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
Public Sub New (controllerContext As ControllerContext, viewPath As String, masterPath As String, viewPageActivator As IViewPageActivator)
Parameters
- controllerContext
- ControllerContext
The controller context.
- viewPath
- String
The view path.
- masterPath
- String
The path to the master page.
- viewPageActivator
- IViewPageActivator
An instance of the view page activator interface.