Clears all buffers for the current writer and causes any buffered data to be written to the underlying device.
[Visual Basic] Overridable Public Sub Flush() [C#] public virtual void Flush(); [C++] public: virtual void Flush(); [JScript] public function Flush();
This default method is empty, but derived classes can override the method to provide the appropriate functionality.