XamlXmlWriter.Dispose Method

.NET Framework 4.6 and 4.5

Releases the unmanaged resources used by XamlXmlWriter and optionally releases the managed resources.

Namespace:  System.Xaml
Assembly:  System.Xaml (in System.Xaml.dll)

protected override void Dispose(
	bool disposing
)

Parameters

disposing
Type: System.Boolean

true to release the unmanaged resources; otherwise, false.

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

.NET Framework

Supported in: 4.6, 4.5, 4

.NET Framework Client Profile

Supported in: 4
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft