ActivityDesigner.Dispose 方法

定義

釋放 ActivityDesigner 所使用的 Unmanaged 資源,並選擇性地釋放 Managed 資源。Releases the unmanaged resources used by the ActivityDesigner and optionally releases the managed resources.

多載

Dispose()

釋放 ActivityDesigner 所使用的 Unmanaged 資源,並選擇性地釋放 Managed 資源。Releases the unmanaged resources used by the ActivityDesigner and optionally releases the managed resources.

Dispose(Boolean)

釋放 ActivityDesigner 類別所使用的資源。Releases the resources used by the ActivityDesigner class.

Dispose()

釋放 ActivityDesigner 所使用的 Unmanaged 資源,並選擇性地釋放 Managed 資源。Releases the unmanaged resources used by the ActivityDesigner and optionally releases the managed resources.

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

實作

Dispose(Boolean)

釋放 ActivityDesigner 類別所使用的資源。Releases the resources used by the ActivityDesigner class.

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

如果正在處置 ActivityDesigner 則為 true,如果正在結束 ActivityDesigner 則為 falsetrue if the ActivityDesigner is being disposed; false if the ActivityDesigner is being finalized.

適用於