Stream.IDisposable.Dispose Stream.IDisposable.Dispose Stream.IDisposable.Dispose Method

定义

释放由 Stream 使用的所有资源。Releases all resources used by the Stream.

 virtual void System.IDisposable.Dispose() = IDisposable::Dispose;
void IDisposable.Dispose ();
Sub Dispose () Implements IDisposable.Dispose

实现

注解

此成员是显式的接口成员实现。This member is an explicit interface member implementation. 它只能在 Stream 实例强制转换为 IDisposable 接口时使用。It can be used only when the Stream instance is cast to an IDisposable interface.

适用于