Share via


MvcForm.Dispose Method

Include Protected Members
Include Inherited Members

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

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public method Dispose() Releases all resources that are used by the current instance of the MvcForm class.
Protected method Dispose(Boolean) Releases unmanaged and, optionally, managed resources used by the current instance of the MvcForm class.

Top

Remarks

This method renders the closing </form> tag at the end of a Using statement.

See Also

Reference

MvcForm Class

System.Web.Mvc.Html Namespace