Mono Class Library: System.Xml.XmlReader Overview | MembersSystem.Xml.XmlReader.ReadStartElement Method |
Reads an Element node with the specified local name and namespace URI and advances the reader to the next node. [Edit]
|
Type Reason System.Xml.XmlException The node is not an Element node, the XmlReader.LocalName property of the Element node does not equal localname, the XmlReader.NamespaceURI property of the Element node does not equal ns, or an error occurred while parsing the XML. [Edit]
Operation
As described above.This method calls the XmlReader.MoveToContent method. If the returned node is an Element node, this method compares the XmlReader.LocalName and XmlReader.NamespaceURI properties of the node to localname and ns, respectively. If they are equal, this method calls the XmlReader.Read method to read the element and move to the next node.
Note to Inheritors
Override this method to customize the behavior of this method in types derived from the System.Xml.XmlReader class.Usage
Use this method to read an Element node with the specified local name and namespace URI, and advance the reader to the next node. [Edit]
Namespace: System.Xml
Assembly: System.Xml (in System.Xml.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0