## StreamWriter::set_AutoFlush method


Returns a value that specifies whether the [StreamWriter](../) should flush the data to the underlying stream every time method [StreamWriter::Write](../write/) is called.

```cpp
void System::IO::StreamWriter::set_AutoFlush(bool value)
```

## See Also

* Class [StreamWriter](../)
* Namespace [System::IO](../../)
* Library [Aspose.PDF for C++](../../../)
