Checks that the current content node is a start tag.
[Visual Basic] Overloads Public Sub CheckStartTag() [C#] public void CheckStartTag(); [C++] public: void CheckStartTag(); [JScript] public function CheckStartTag();
Exception Type | Condition |
---|---|
XmlException | If incorrect XML is encountered in the input stream or if the resulting node is not a start tag. |
This method skips whitespace, comments, and processing instructions until the reader is positioned on a content node. The method then checks that the current node is a start tag. If the check is unsuccessful, an exception is thrown.
XmlReader Class | XmlReader Members | System.Xml Namespace | XmlReader.CheckStartTag Overload List | CheckStartTag | CheckStartTag | CheckStartTag | IsStartTag | MoveToContent