Home Notices Documents Classes Download Others Rice
Classes  >  writer  >  AutoFlush(bool)
writer class : AutoFlush(bool) setter

Description

Sets a value that indicates whether will flush the buffer after every call to writing method.

Syntax

writerInstance.AutoFlush = flash

Arguments

ClassNameDescription
boolflushA value that indicates whether will flush the buffer after every call to writing method.

Return value

None

Sample code

1:

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

2:

w.AutoFlush = true;

Notes

It's a wrapper of the System.IO.StreamWriter.AutoFlush property.

Sets true if the writer flushes the buffer forcibly. Otherwise, sets false.

Links for reference

Copyright © Rice All rights reserved.