WebFormView Constructor (String, String)

Visual Studio 2010

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)

public WebFormView(
	string viewPath,
	string masterPath
)

Parameters

viewPath
Type: System.String
The view path.
masterPath
Type: System.String
The master path.

ExceptionCondition
ArgumentNullException

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

Community Additions

ADD
Show: