Checks that the current content node is a start tag with the given identifier and advances the reader to the next node.
[Visual Basic] Overloads Public Sub ReadStartTag( _ ByVal id As XmlIdent _ ) [C#] public void ReadStartTag( XmlIdent id ); [C++] public: void ReadStartTag( XmlIdent* id ); [JScript] public function ReadStartTag( id : XmlIdent );
Exception Type | Condition |
---|---|
XmlException | If the current node is not a start tag with the given identifier 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