ChartElementCollection<T>.Dispose 方法

定义

释放 ChartElementCollection<T> 使用的资源。Releases the resources used by the ChartElementCollection<T>.

重载

Dispose()

释放 ChartElementCollection<T> 使用的资源。Releases the resources used by the ChartElementCollection<T>.

Dispose(Boolean)

释放 ChartElementCollection<T> 使用的非托管资源并选择性地释放托管资源。Releases the unmanaged resources used by the ChartElementCollection<T> and optionally releases the managed resources.

Dispose()

释放 ChartElementCollection<T> 使用的资源。Releases the resources used by the ChartElementCollection<T>.

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

实现

Dispose(Boolean)

释放 ChartElementCollection<T> 使用的非托管资源并选择性地释放托管资源。Releases the unmanaged resources used by the ChartElementCollection<T> and optionally releases the managed resources.

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)

参数

disposing
Boolean

如果为 true,则托管及非托管资源都释放;如果为 false,则仅释放非托管资源。true to release both managed and unmanaged resources; false to release only unmanaged resources.

适用于