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.

C#
public override sealed void Dispose();

Applies to

.NET Framework 4.8.1 и друге верзије
Производ Верзије
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

Dispose(Boolean)

Releases unmanaged and, optionally, managed resources.

C#
protected virtual void Dispose(bool disposing);

Parameters

disposing
Boolean

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

Applies to

.NET Framework 4.8.1 и друге верзије
Производ Верзије
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1