XmlWriter.IDisposable.Dispose XmlWriter.IDisposable.Dispose XmlWriter.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. 只有在 XmlWriter 執行個體轉換成 IDisposable 介面時,才能使用這個成員。It can be used only when the XmlWriter 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.

適用於