public void Flush(
bool insertNewLine
)
Public Sub Flush (
insertNewLine As Boolean
)
Dim instance As LineWrappingTextWriter
Dim insertNewLine As Boolean
instance.Flush(insertNewLine)
public:
void Flush(
bool insertNewLine
)
If insertNewLine is set to , the LineWrappingTextWriter class will not know the length of the flushed line, and therefore the current line may not be correctly wrapped if more text is written to the LineWrappingTextWriter.
For this reason, it's recommended to only set insertNewLine to if you are done writing to this instance.
Indentation is reset by this method, so the next write after calling flush will not be indented.
The Flush method is equivalent to calling this method with insertNewLine set to .