Mono Class Library: System.Xml.XmlReader Overview | MembersSystem.Xml.XmlReader.IsStartElement Method |
Determines if a node containing content is an Element node with the specified local name and namespace URI. [Edit]
|
A bool where true indicates the node is an Element node with the specified local name and namespace URI; false otherwise. [Edit]
Type Reason System.Xml.XmlException An error occurred while parsing the XML. [Edit]
Operation
As described above.This method calls the XmlReader.MoveToContent method, which determines whether the current node can contain content and, if not, moves the reader to the next content node or the end of the input stream. When the reader is positioned on a content node, the node is checked to determine if it is an Element node with XmlReader.LocalName and XmlReader.NamespaceURI properties equal to localname and ns, respectively.
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 determine whether the node returned by the XmlReader.MoveToContent method is an Element node with the specified local name and namespace URI. [Edit]
Namespace: System.Xml
Assembly: System.Xml (in System.Xml.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0