FileStream.Flush Method

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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

Namespace:   System.IO
Assembly:  mscorlib (in mscorlib.dll)

NameDescription
System_CAPS_pubmethodFlush()

Clears buffers for this stream and causes any buffered data to be written to the file.(Overrides Stream.Flush().)

System_CAPS_pubmethodFlush(Boolean)

Clears buffers for this stream and causes any buffered data to be written to the file, and also clears all intermediate file buffers.

Return to top
Show: