Method Flush
Flush()
Flush the output.
This method flushes the output stream. It is especially useful when you need to make certain that the entire document has been written to output but do not want to close the output stream.
This method is invoked automatically by the EndDocument() method after writing a document.
Declaration
public virtual void Flush()