BinaryReader.IDisposable.Dispose 方法

定義

除非另有設定,BaseStream否則會釋放 。BinaryReader(Stream, Encoding, Boolean)

此 API 支援此產品基礎結構,但無法直接用於程式碼之中。

 virtual void System.IDisposable.Dispose() = IDisposable::Dispose;
void IDisposable.Dispose();
abstract member System.IDisposable.Dispose : unit -> unit
override this.System.IDisposable.Dispose : unit -> unit
Sub Dispose () Implements IDisposable.Dispose

實作

備註

呼叫 Dispose 允許所 BinaryReader 使用的資源被重新分配用於其他用途。 欲了解更多資訊 Dispose,請參閱 《清理未管理資源》。

適用於

另請參閱