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
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.

Applies to