Home Cooker Classes Others Rice CookerGX
Classes  >  writer  >  AutoFlush
writer class : AutoFlush getter

Description

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

Syntax

writerInstance.AutoFlush

Arguments

None

Return value

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

Sample code

//anyWriter is a instance of writer type.

bool flush = anyWriter.AutoFlush;

Notes

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

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

Links for reference

Copyright © Rice All rights reserved.