XamlXmlWriter.Dispose Method (Boolean)

.NET Framework (current version)
 

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
Available since 4.0
Return to top
Show: