RepeaterDesigner.Dispose Method (Boolean)

 

This API supports the product infrastructure and is not intended to be used directly from your code.

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

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

protected override void Dispose(
	bool disposing
)

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 RepeaterDesigner object references.

Notes to Inheritors:

The Dispose method can be called multiple times by other objects. When overriding it, ensure 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 Dispose Pattern.

.NET Framework
Available since 1.1
Return to top
Show: