MvcForm Constructor (ViewContext)

Initializes a new instance of the MvcForm class using the specified view context.

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

'Declaration
Public Sub New ( _
	viewContext As ViewContext _
)
'Usage
Dim viewContext As ViewContext 

Dim instance As New MvcForm(viewContext)

Parameters

viewContext
Type: System.Web.Mvc.ViewContext

An object that encapsulates the information that is required in order to render a view.

ExceptionCondition
ArgumentNullException

The viewContext parameter is Nothing.

Show: