Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

MvcForm Class

 

Represents an HTML form element in an MVC view.

Namespace:   System.Web.Mvc.Html
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)

System.Object
  System.Web.Mvc.Html.MvcForm

public class MvcForm : IDisposable

NameDescription
System_CAPS_pubmethodMvcForm(HttpResponseBase)

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

System_CAPS_pubmethodMvcForm(ViewContext)

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

NameDescription
System_CAPS_pubmethodDispose()

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

System_CAPS_protmethodDispose(Boolean)

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

System_CAPS_pubmethodEndForm()

Ends the form and disposes of all form resources.

System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodToString()

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

Return to top
Show:
© 2015 Microsoft