XmlReader.IDisposable.Dispose XmlReader.IDisposable.Dispose XmlReader.IDisposable.Dispose Method

定义

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

 virtual void System.IDisposable.Dispose() = IDisposable::Dispose;
void IDisposable.Dispose ();
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.

适用于