System::Xml::XmlReader::ReadToDescendant‑metod
XmlReader::ReadToDescendant(String, String) method
Flyttar XmlReader till nästa ättlingselement med det angivna lokala namnet och namnrymds‑URI:n.
virtual bool System::Xml::XmlReader::ReadToDescendant(String localName, String namespaceURI)
| Parameter | Typ | Beskrivning |
|---|---|---|
| localName | String | Det lokala namnet på det element du vill flytta till. |
| namespaceURI | String | Namnrums‑URI:n för det element du vill flytta till. |
ReturnValue
true if a matching descendant element is found; otherwise false. If a matching child element is not found, the XmlReader is positioned on the end tag (XmlReader::get_NodeType value is XmlNodeType::EndElement) of the element. If the XmlReader is not positioned on an element when XmlReader::ReadToDescendant(String,String) was called, this method returns false and the position of the XmlReader is not changed.
Se även
- Class String
- Class XmlReader
- Namespace System::Xml
- Library Aspose.PDF for C++
XmlReader::ReadToDescendant(String) method
Flyttar XmlReader till nästa ättlingselement med det angivna kvalificerade namnet.
virtual bool System::Xml::XmlReader::ReadToDescendant(String name)
| Parameter | Typ | Beskrivning |
|---|---|---|
| namn | String | Det kvalificerade namnet på det element du vill flytta till. |
ReturnValue
true if a matching descendant element is found; otherwise false. If a matching child element is not found, the XmlReader is positioned on the end tag (XmlReader::get_NodeType value is XmlNodeType::EndElement) of the element. If the XmlReader is not positioned on an element when XmlReader::ReadToDescendant(String) was called, this method returns false and the position of the XmlReader is not changed.
Se även
- Class String
- Class XmlReader
- Namespace System::Xml
- Library Aspose.PDF for C++