Windows Dev Center

FileStream.Flush Method

Clears buffers for this stream and causes any buffered data to be written to the file.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  NameDescription
Public method Flush() Clears all buffers for this stream and causes any buffered data to be written to the file system. (Overrides Stream.Flush().)
Public method Flush(Boolean) Clears buffers for this stream and causes any buffered data to be written to the file, and also clears all intermediate file buffers.
Top

Show:
© 2015 Microsoft