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