MvcForm Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents an HTML form element in an MVC view.
public class MvcForm : IDisposable
type MvcForm = class
interface IDisposable
Public Class MvcForm
Implements IDisposable
- Inheritance
-
MvcForm
- Implements
Constructors
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. |
Methods
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. |