MvcForm Class
Represents an HTML form element in an MVC view.
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
| Name | Description | |
|---|---|---|
![]() | MvcForm(HttpResponseBase) | Obsolete.Initializes a new instance of the MvcForm class using the specified HTTP response object. |
![]() | MvcForm(ViewContext) | Initializes a new instance of the MvcForm class using the specified view context. |
| Name | Description | |
|---|---|---|
![]() | Dispose() | Releases all resources that are used by the current instance of the MvcForm class. |
![]() | Dispose(Boolean) | Releases unmanaged and, optionally, managed resources used by the current instance of the MvcForm class. |
![]() | EndForm() | Ends the form and disposes of all form resources. |
![]() | Equals(Object) | (Inherited from Object.) |
![]() | Finalize() | (Inherited from Object.) |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetType() | (Inherited from Object.) |
![]() | MemberwiseClone() | (Inherited from Object.) |
![]() | ToString() | (Inherited from Object.) |
A MvcForm instance is returned by both the BeginForm and BeginRouteForm extension methods of the HtmlHelper and AjaxHelper classes.
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
.jpeg?cs-save-lang=1&cs-lang=fsharp)
.jpeg?cs-save-lang=1&cs-lang=fsharp)