System::Xml::XmlReader::ReadToDescendant méthode
XmlReader::ReadToDescendant(String, String) method
Avance le XmlReader vers l’élément descendant suivant avec le nom local et l’URI d’espace de noms spécifiés.
virtual bool System::Xml::XmlReader::ReadToDescendant(String localName, String namespaceURI)
| Paramètre | Type | Description |
|---|---|---|
| localName | String | Le nom local de l’élément vers lequel vous souhaitez vous déplacer. |
| namespaceURI | String | L’URI d’espace de noms de l’élément vers lequel vous souhaitez vous déplacer. |
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.
Voir aussi
- Class String
- Class XmlReader
- Namespace System::Xml
- Library Aspose.Font for C++
XmlReader::ReadToDescendant(String) method
Avance le XmlReader vers l’élément descendant suivant avec le nom qualifié spécifié.
virtual bool System::Xml::XmlReader::ReadToDescendant(String name)
| Paramètre | Type | Description |
|---|---|---|
| nom | String | Le nom qualifié de l’élément vers lequel vous souhaitez vous déplacer. |
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.
Voir aussi
- Class String
- Class XmlReader
- Namespace System::Xml
- Library Aspose.Font for C++