BitmapImage.Dispose Method

Definition

Overloads

Dispose()

Disposes this instance. Correctly disposing instance of this class is important to prevent memory leaks or overload of the garbage collector.

Dispose(Boolean)

Disposes this instance

Dispose()

Disposes this instance. Correctly disposing instance of this class is important to prevent memory leaks or overload of the garbage collector.

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

Implements

Applies to

Dispose(Boolean)

Disposes this instance

protected abstract void Dispose (bool disposing);
abstract member Dispose : bool -> unit
Protected MustOverride Sub Dispose (disposing As Boolean)

Parameters

disposing
Boolean

True if disposing, false if called from finalizer

Applies to