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