Click or drag to resize
XmlReaderReadToNextSibling Method (String, String)
Advances the XmlReader to the next sibling element with the specified local name and namespace URI.

Namespace: System.Xml
Assembly: CSharpXamlForHtml5.System.Xml.dll (in CSharpXamlForHtml5.System.Xml.dll.dll) Version: 1.0.0.0
Syntax
C#
public virtual bool ReadToNextSibling(
	string localName,
	string namespaceURI
)

Parameters

localName
Type: SystemString
The local name of the sibling element you wish to move to.
namespaceURI
Type: SystemString
The namespace URI of the sibling element you wish to move to

Return Value

Type: Boolean
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 XmlNodeType.EndElement) of the parent element.
See Also