This documentation is archived and is not being maintained.

XmlReader.Close Method

When overridden in a derived class, changes the ReadState to Closed.

[Visual Basic]
Public MustOverride Sub Close()
public abstract void Close();
public: virtual void Close() = 0;
public abstract function Close();


This method also releases any resources held during reading. If Close has already been called, no action is performed.


Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework, Common Language Infrastructure (CLI) Standard

See Also

XmlReader Class | XmlReader Members | System.Xml Namespace