Home Notices Documents Classes Download Others Rice
Classes  >  writer  >  Flush()
writer class : Flush() method

Description

Clears all buffers, and all buffered data to be written.

Syntax

writerInstance.Flush()

Arguments

None.

Return value

None.

Sample code

1:

writer w = new writer("c:\somewhere...\sample.txt");

2:

// ...

3:

w.Flush();

Notes

It's a wrapper of the System.IO.StreamWriter.Flush() method.

Links for reference

Copyright © Rice All rights reserved.