Share via


FileStream.Flush Method

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

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

Syntax

public override void Flush ()

Version Information

Available in the .NET Micro Framework versions 3.0, 4.0, and 4.1.

See Also

Reference

FileStream Class
FileStream Members
System.IO Namespace