Flush Method

XamlXmlWriter.Flush Method ()

.NET Framework 4.6 and 4.5

Calls the Flush method of the underlying XmlWriter or TextWriter, which writes anything that is currently in the buffer, and then closes the writer.

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

Public Sub Flush

The Dispose behavior for a XamlXmlWriter can be influenced by its writer settings, especially by XamlXmlWriterSettings.CloseOutput.

.NET Framework
Available since 4.0
Return to top
© 2015 Microsoft