Home Cooker Classes Others Rice CookerGX
Classes  >  writer  >  AutoFlush(bool)
writer class : AutoFlush(bool) setter

Description

Sets the value that indicates whether will flush the buffer after every call to StreamWriter.Write.

Syntax

writerInstance.AutoFlush = flash

Arguments

ClassNameDescription
boolflushThe value that indicates whether will flush the buffer after every call to StreamWriter.Write.

Return value

None

Sample code

//anyWriter is a instance of writer type.

anyWriter.AutoFlush = true;

Notes

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

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

Links for reference

Copyright © Rice All rights reserved.