Share via


Flush Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Overrides the Stream..::..Flush method so that no action is performed.

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

Syntax

'Declaration
Public Overrides Sub Flush
public override void Flush()
public:
virtual void Flush() override
abstract Flush : unit -> unit 
override Flush : unit -> unit 
public override function Flush()

Remarks

This method overrides the Stream..::..Flush method.

Because any data written to a MemoryStream object is written into RAM, this method is redundant.

.NET Framework Security

See Also

Reference

MemoryStream Class

System.IO Namespace