XmlReader.ReadEndElement Method

Checks to find that the current content node is an end tag and advances the reader to the next node.

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

Syntax

public virtual void ReadEndElement ()

Exceptions

Exception type Condition
XmlException The current node is not an end tag or if incorrect XML is encountered in the input stream.

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