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)
'Declaration Public Sub New ( _ controllerContext As ControllerContext, _ viewPath As String, _ masterPath As String, _ viewPageActivator As IViewPageActivator _ ) 'Usage Dim controllerContext As ControllerContext Dim viewPath As String Dim masterPath As String Dim viewPageActivator As IViewPageActivator Dim instance As New WebFormView(controllerContext, _ viewPath, masterPath, 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: