NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

StreamWriter.Flush

Clears all buffers for the current writer and causes any buffered data to be written to the underlying device.

[Visual Basic]
Overrides Public Sub Flush()
[C#]
public override void Flush();
[C++]
public: override void Flush();
[JScript]
public override function Flush();

Exceptions

Exception Type Condition
IOException The current writer is closed.

See Also

StreamWriter Class | StreamWriter Members | System.IO Namespace | Close