ערוך

שתף באמצעות


XamlXmlWriter.Dispose(Boolean) Method

Definition

Releases the unmanaged resources used by XamlXmlWriter 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 the unmanaged resources; otherwise, false.

Remarks

This implementation calls Close on the underlying XmlWriter or TextWriter for cases where CloseOutput is true in any supplied XamlXmlWriterSettings. Otherwise, it calls Flush.

Applies to