Chart.Dispose Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.