XmlReader.IDisposable.Dispose 方法

定义

有关此成员的说明,请参见 Dispose()For a description of this member, see Dispose().

 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

实现

注解

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

此成员在 可移植类库 项目中使用时的行为可能不同。This member may behave differently when it is used in a Portable Class Library project. 有关详细信息,请参阅 可移植类库中的 API 差异For more information, see API Differences in Portable Class Library.

适用于