Uredi

Deli z drugimi prek


WindowsFormsHost.Dispose(Boolean) Method

Definition

Releases the unmanaged resources used by the WindowsFormsHost, 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)

Parameters

disposing
Boolean

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

Remarks

Calling the Dispose method disposes the base HwndHost and the Child control.

Applies to