AxHost.Dispose(Boolean) 方法

定義

釋放 Control 所使用的 Unmanaged 資源,以及其子系的控制項,並會選擇性地釋放一些 Managed 資源。Releases the unmanaged resources used by the Control and its child controls and optionally releases the managed resources.

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

參數

disposing
Boolean

true 表示釋放 Managed 和 Unmanaged 資源,false 則表示只釋放 Unmanaged 資源。true to release both managed and unmanaged resources; false to release only unmanaged resources.

適用於

另請參閱