Export (0) Print
Expand All

MvcForm.Dispose Method (Boolean)

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

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

abstract Dispose : 
        disposing:bool -> unit  
override Dispose : 
        disposing:bool -> unit

Parameters

disposing
Type: System.Boolean

true to release both managed and unmanaged resources; false to release only unmanaged resources.

This method is called by the public Dispose method. Dispose invokes the protected Dispose(Boolean) method with the disposing parameter set to true.

When the disposing parameter is true, this method releases all resources held by any managed objects that this MvcForm object references. This method invokes the Dispose method of each referenced object.

Show:
© 2014 Microsoft