MemoryStream.Flush 方法

定义

重写 Flush() 方法以便不执行任何操作。Overrides the Flush() method so that no action is performed.

public:
 override void Flush();
public override void Flush ();
override this.Flush : unit -> unit
Public Overrides Sub Flush ()

注解

此方法将重写 Stream.Flush 方法。This method overrides the Stream.Flush method.

由于写入到 MemoryStream 对象的任何数据都写入到 RAM 中,因此此方法是多余的。Because any data written to a MemoryStream object is written into RAM, this method is redundant.

适用于

另请参阅