Bewerken

Share via


BinaryReader.IDisposable.Dispose Method

Definition

Releases the BaseStream unless configured otherwise by BinaryReader(Stream, Encoding, Boolean).

This API supports the product infrastructure and is not intended to be used directly from your code.

 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

Implements

Remarks

Calling Dispose allows the resources used by the BinaryReader to be reallocated for other purposes. For more information about Dispose, see Cleaning Up Unmanaged Resources.

Applies to

See also