Stream.IDisposable.Dispose 方法

定义

释放 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.

适用于