Edit

Share via


StringWriter.FlushAsync Method

Definition

Asynchronously clears all buffers for the current writer and causes any buffered data to be written to the underlying device.

C#
public override System.Threading.Tasks.Task FlushAsync();
C#
[System.Runtime.InteropServices.ComVisible(false)]
public override System.Threading.Tasks.Task FlushAsync();

Returns

A task that represents the asynchronous flush operation.

Attributes

Applies to