writer class : AutoFlush getter

Description

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

Syntax

writerInstance.AutoFlush

Arguments

None.

Return value

ClassDescription
boolA value that indicates whether will flush the buffer after every call to writing method.

Sample code

1:

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

2:

bool flush = w.AutoFlush;

Notes

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

Returns true if the writer flushes the buffer forcibly. Otherwise, returns false.

Links for reference

Copyright © Cooker All rights reserved.