Partager via


UndoManager.Dispose Method

Definition

Overloads

Dispose()

Cleans up resources allocated by the doc data. Allows us to pre-empt the GC.

Dispose(Boolean)

Disposes the state of this object.

Dispose()

Cleans up resources allocated by the doc data. Allows us to pre-empt the GC.

public:
 virtual void Dispose();
public void Dispose ();
abstract member Dispose : unit -> unit
override this.Dispose : unit -> unit
Public Sub Dispose ()

Implements

Applies to

Dispose(Boolean)

Disposes the state of this object.

protected:
 virtual void Dispose(bool disposing);
protected virtual void Dispose (bool disposing);
abstract member Dispose : bool -> unit
override this.Dispose : bool -> unit
Protected Overridable Sub Dispose (disposing As Boolean)

Parameters

disposing
Boolean

True if called from Dispose(), false if from finalizer.

Applies to