Redigera

Dela via


RepeaterDesigner.Dispose(Boolean) Method

Definition

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

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

protected:
 override void Dispose(bool disposing);
protected override void Dispose (bool disposing);
override this.Dispose : bool -> unit
Protected Overrides Sub Dispose (disposing As Boolean)

Parameters

disposing
Boolean

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

Remarks

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(Boolean) 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(Boolean). For more information about how to implement this method, see Implementing a Dispose Method. For more information about the Dispose and Finalize methods, see Implementing a Dispose method.

Applies to

See also