Share via


WebFormView Constructor (String, String)

Initializes a new instance of the WebFormView class by using the specified paths to the view and master view.

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

Syntax

'Declaration
Public Sub New ( _
    viewPath As String, _
    masterPath As String _
)
public WebFormView(
    string viewPath,
    string masterPath
)
public:
WebFormView(
    String^ viewPath, 
    String^ masterPath
)

Parameters

Exceptions

Exception Condition
ArgumentNullException

The viewPath parameter is null reference (Nothing in Visual Basic) (Nothing in Visual Basic).

See Also

Reference

WebFormView Class

WebFormView Overload

System.Web.Mvc Namespace