Checks that the current content node is an end tag and advances the reader to the next node.
[Visual Basic] Public Sub ReadEndTag() [C#] public void ReadEndTag(); [C++] public: void ReadEndTag(); [JScript] public function ReadEndTag();
Exception Type | Condition |
---|---|
XmlException | If the current node is not an end tag or if incorrect XML is encountered in the input stream. |
A call to this method corresponds to a call to CheckEndTag followed by a call to Read.
XmlReader Class | XmlReader Members | System.Xml Namespace | ReadStartTag