Calls XmlReader.MoveToContent and tests if the current content node is a start tag or empty element tag and if the XmlReader.Name property of the element found matches the given argument.
true if the resulting node is an element and the Name property matches the specified string. false if a node type other than XmlNodeType.Element was found or if the element Name property does not match the specified string.
Type Reason System.Xml.XmlException An error occurred while parsing the XML.
This method skips white space, comments, and processing instructions until the reader is positioned on a content node. The method then tests if the current node is an element.