XmlReaderReadToNextSibling Method (String) |
Advances the XmlReader to the next sibling element with the specified qualified name.
Namespace: System.XmlAssembly: CSharpXamlForHtml5.System.Xml.dll (in CSharpXamlForHtml5.System.Xml.dll.dll) Version: 1.0.0.0
Syntax public virtual bool ReadToNextSibling(
string name
)
Parameters
- name
- Type: SystemString
The qualified name of the sibling element you wish to move to.
Return Value
Type:
Booleantrue 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 XmlNodeType.EndElement) of the parent element.
See Also