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
- viewPath
Type: System.String
The view path.
- masterPath
Type: System.String
The master path.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | The viewPath parameter is null reference (Nothing in Visual Basic) (Nothing in Visual Basic). |