XmlReader.Close Method

Closes the stream, changes the ReadState to Closed, and sets all properties back to zero/empty string.

Namespace: System.Xml
Assembly: System.Xml (in system.xml.dll)

Syntax

public virtual abstract void Close ()

Returns true if the stream is closed and ReadState has been changed to Closed.

Version Information

Available in the .NET Micro Framework versions 2.5, 3.0, 4.0, and 4.1.

See Also

Reference

XmlReader Class
XmlReader Members
System.Xml Namespace