System.IO.IsolatedStorage.IsolatedStorageFileStream.Flush Method

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

Syntax

public override void Flush (bool flushToDisk)

Parameters

flushToDisk
true to flush all intermediate file buffers; otherwise, false.

Remarks

Use this overload when you want to ensure that all buffered data in intermediate file buffers is written to disk.

Requirements

Namespace: System.IO.IsolatedStorage
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 4.0.0.0