Redigera

Dela via


Chart.Dispose Method

Definition

Releases the resources used by the Chart class.

Overloads

Dispose()

Disposes of the object, using the IDisposable interface.

Dispose(Boolean)

Releases unmanaged and, optionally, managed resources.

Dispose()

Disposes of the object, using the IDisposable interface.

public:
 override void Dispose();
public override sealed void Dispose ();
override this.Dispose : unit -> unit
Public Overrides NotOverridable Sub Dispose ()

Applies to

Dispose(Boolean)

Releases unmanaged and, optionally, managed resources.

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

Parameters

disposing
Boolean

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

Applies to