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.

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

Syntax

'Declaration
Public Sub New ( _
    controllerContext As ControllerContext, _
    viewPath As String, _
    masterPath As String _
)
'Usage
Dim controllerContext As ControllerContext 
Dim viewPath As String 
Dim masterPath As String 

Dim instance As New WebFormView(controllerContext, _
    viewPath, masterPath)
public WebFormView(
    ControllerContext controllerContext,
    string viewPath,
    string masterPath
)
public:
WebFormView(
    ControllerContext^ controllerContext, 
    String^ viewPath, 
    String^ masterPath
)
new : 
        controllerContext:ControllerContext * 
        viewPath:string * 
        masterPath:string -> WebFormView
public function WebFormView(
    controllerContext : ControllerContext, 
    viewPath : String, 
    masterPath : String
)

Parameters

See Also

Reference

WebFormView Class

WebFormView Overload

System.Web.Mvc Namespace