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