Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

XamlXmlWriter.Flush Method

Definition

Namespace:
System.Xaml
Assembly:
System.Xaml.dll

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

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

public:
 void Flush();
public void Flush();
member this.Flush : unit -> unit
Public Sub Flush ()

Remarks

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

Applies to


Feedback

Was this page helpful?