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 qualified name. [Edit]
|
A bool where true indicates the node is an Element node with the specified name; 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 a XmlReader.Name property equal to name.
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 name. [Edit]
Namespace: System.Xml
Assembly: System.Xml (in System.Xml.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0