Share via


WebView2.Dispose(Boolean) Method

Definition

This is called by our base class according to the typical implementation of the IDisposable pattern. We implement it by releasing all of our underlying COM resources, including our CoreWebView2.

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

Parameters

disposing
Boolean

True if a caller is explicitly calling Dispose, false if we're being finalized.

Applies to