Overrides Stream.Flush so that no action is performed.
[Visual Basic] Overrides Public Sub Flush() [C#] public override void Flush(); [C++] public: void Flush(); [JScript] public override function Flush();
For an example of creating a file and writing text to a file, see Writing Text to a File. For an example of reading text from a file, see Reading Text from a File. For an example of reading from and writing to a binary file, see Reading and Writing to a Newly Created Data File.
This method overrides Flush.
Since any data written to a MemoryStream is written into RAM, this method is redundant.
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework, Common Language Infrastructure (CLI) Standard