MvcForm Constructor (ViewContext)
Visual Studio 2010
Initializes a new instance of the MvcForm class using the specified view context.
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
Parameters
- viewContext
- Type: System.Web.Mvc.ViewContext
An object that encapsulates the information that is required in order to render a view.
| Exception | Condition |
|---|---|
| ArgumentNullException | The viewContext parameter is null. |
Community Additions
ADD
Show: