Share via


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

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