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()
[C#]
public abstract void Close();
[C++]
public: virtual void Close() = 0;
[JScript]
public abstract function Close();

Remarks

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

Requirements

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

Show: