MvcForm MvcForm MvcForm Class

Definition

Represents an HTML form element in an MVC view.

public class MvcForm : IDisposable
type MvcForm = class
    interface IDisposable
Public Class MvcForm
Implements IDisposable
Inheritance
MvcFormMvcFormMvcForm
Implements

Constructors

MvcForm(HttpResponseBase) MvcForm(HttpResponseBase) MvcForm(HttpResponseBase)

Initializes a new instance of the MvcForm class using the specified HTTP response object.

MvcForm(ViewContext) MvcForm(ViewContext) MvcForm(ViewContext)

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

Methods

Dispose() Dispose() Dispose()

Releases all resources that are used by the current instance of the MvcForm class.

Dispose(Boolean) Dispose(Boolean) Dispose(Boolean)

Releases unmanaged and, optionally, managed resources used by the current instance of the MvcForm class.

EndForm() EndForm() EndForm()

Ends the form and disposes of all form resources.

Applies to