WebFormView Constructor

 

Initializes a new instance of the WebFormView class.

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

NameDescription
System_CAPS_pubmethodWebFormView(ControllerContext, String)

Initializes a new instance of the WebFormView class using the controller context and view path.

System_CAPS_pubmethodWebFormView(ControllerContext, String, String)

Initializes a new instance of the WebFormView class using the controller context, view path, and the path to the master page.

System_CAPS_pubmethodWebFormView(ControllerContext, String, String, IViewPageActivator)

Initializes a new instance of the WebFormView class using the controller context, view path, the path to the master page, and a IViewPageActivator instance.

Return to top

WebFormView Constructor (ControllerContext, String)

Initializes a new instance of the WebFormView class using the controller context and view path.

No code example is currently available or this language may not be supported.

Parameters

controllerContext
Type: System.Web.Mvc.ControllerContext

The controller context.

viewPath
Type: System.String

The view path.

Return to top

WebFormView Constructor (ControllerContext, String, String)

Initializes a new instance of the WebFormView class using the controller context, view path, and the path to the master page.

No code example is currently available or this language may not be supported.

Parameters

controllerContext
Type: System.Web.Mvc.ControllerContext

The controller context.

viewPath
Type: System.String

The view path.

masterPath
Type: System.String

The path to the master page.

Return to top

WebFormView Constructor (ControllerContext, String, String, IViewPageActivator)

Initializes a new instance of the WebFormView class using the controller context, view path, the path to the master page, and a IViewPageActivator instance.

No code example is currently available or this language may not be supported.

Parameters

controllerContext
Type: System.Web.Mvc.ControllerContext

The controller context.

viewPath
Type: System.String

The view path.

masterPath
Type: System.String

The path to the master page.

viewPageActivator
Type: System.Web.Mvc.IViewPageActivator

An instance of the view page activator interface.

Return to top
Show: