When overridden in a derived class, clears all buffers for this stream and causes any buffered data to be written to the underlying device.
            
 Declaration Syntax
 Declaration Syntax| C# | Visual Basic | Visual C++ | J# | 
public override void Flush()
Public Overrides Sub Flush
public: virtual void Flush() override
public void Flush()
 Exceptions
 Exceptions| Exception | Condition | 
|---|---|
| IOException | An I/O error occurs. | 
