XamlXmlWriter.Dispose Method (Boolean)

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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: