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.

適用於

另請參閱