System::Xml::XmlReader::ReadToDescendant-Methode
XmlReader::ReadToDescendant(String, String) method
Führt den XmlReader zum nächsten Nachfahren-Element mit dem angegebenen lokalen Namen und Namespace-URI.
virtual bool System::Xml::XmlReader::ReadToDescendant(String localName, String namespaceURI)
| Parameter | Typ | Beschreibung |
|---|---|---|
| localName | String | Der lokale Name des Elements, zu dem Sie wechseln möchten. |
| namespaceURI | String | Der Namespace-URI des Elements, zu dem Sie wechseln möchten. |
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.
Siehe auch
- Class String
- Class XmlReader
- Namespace System::Xml
- Library Aspose.Font for C++
XmlReader::ReadToDescendant(String) method
Führt den XmlReader zum nächsten Nachfahren-Element mit dem angegebenen qualifizierten Namen.
virtual bool System::Xml::XmlReader::ReadToDescendant(String name)
| Parameter | Typ | Beschreibung |
|---|---|---|
| Name | String | Der qualifizierte Name des Elements, zu dem Sie wechseln möchten. |
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.
Siehe auch
- Class String
- Class XmlReader
- Namespace System::Xml
- Library Aspose.Font for C++