XmlReader.ReadToNextSibling Method (String)
Reads to the next sibling of the current element with the given Name.
Namespace: System.Xml
Assembly: System.Xml (in system.xml.dll)
Syntax
public virtual bool ReadToNextSibling (
stringname
)
Parameters
- name
The qualified name of the sibling element you wish to move to.
Return Value
true if a matching sibling element is found; otherwise false. If a matching sibling element is not found, the XmlReader is positioned on the end tag (NodeType is the EndElement enumeration) of the parent element.
Version Information
Available in the .NET Micro Framework versions 2.5, 3.0, 4.0, and 4.1.