IDisposable. Dispose Method
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Releases all resources used by the Stream.
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