DataGridDesigner::Dispose Method (Boolean)

 

Releases the unmanaged resources used by the DataGridDesigner object and optionally releases the managed resources.

Namespace:   System.Web.UI.Design.WebControls
Assembly:  System.Design (in System.Design.dll)

protected:
virtual void Dispose(
	bool disposing
) override

Parameters

disposing
Type: System::Boolean

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

When the disposing parameter is true, the Dispose method releases all the resources held by the managed objects that this DataGridDesigner object references.

Notes to Inheritors:

The Dispose method can be called multiple times by other objects. When overriding it, be sure that you do not reference objects that have been disposed in an earlier call to Dispose. For more information about how to implement this method, see Implementing a Dispose Method.

For more information about the Dispose and Finalize methods, see Cleaning Up Unmanaged Resources and Overriding the Finalize Method.

.NET Framework
Available since 1.1
Return to top
Show: