WebFormView Constructor (String)
Initializes a new instance of the WebFormView class by using the specified path to the view.
Namespace: System.Web.Mvc
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
Syntax
'Declaration
Public Sub New ( _
viewPath As String _
)
public WebFormView(
string viewPath
)
public:
WebFormView(
String^ viewPath
)
Parameters
- viewPath
Type: System.String
The view path.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | The viewPath parameter is null reference (Nothing in Visual Basic) (Nothing in Visual Basic). |