Redigera

Dela via


XamlReader.Dispose(Boolean) Method

Definition

Releases the unmanaged resources used by the XamlReader, and optionally, releases the managed resources.

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)

Parameters

disposing
Boolean

true to release the managed resources; otherwise, false.

Remarks

You must call the base class to get IsDisposed = true.

Applies to