ReadToNextSibling()
Contents
[
Hide
]XmlReader::ReadToNextSibling(String) method
Advances the XmlReader to the next sibling element with the specified qualified name.
virtual bool System::Xml::XmlReader::ReadToNextSibling(String name)
Arguments
Parameter | Type | Description |
---|---|---|
name | String | 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 (XmlReader::get_NodeType value is XmlNodeType::EndElement) of the parent element.
XmlReader::ReadToNextSibling(String, String) method
Advances the XmlReader to the next sibling element with the specified local name and namespace URI.
virtual bool System::Xml::XmlReader::ReadToNextSibling(String localName, String namespaceURI)
Arguments
Parameter | Type | Description |
---|---|---|
localName | String | The local name of the sibling element you wish to move to. |
namespaceURI | String | The namespace URI 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 (XmlReader::get_NodeType value is XmlNodeType::EndElement) of the parent element.
See Also
- Class String
- Class XmlReader
- Namespace System::Xml
- Library Aspose.Slides