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