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 = value

Assigned value

ClassDescription
boolA 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 © Cooker All rights reserved.