Метод System::Xml::XmlReader::ReadToDescendant
XmlReader::ReadToDescendant(String, String) method
Перемещает XmlReader к следующему дочернему элементу с указанным локальным именем и URI пространства имён.
virtual bool System::Xml::XmlReader::ReadToDescendant(String localName, String namespaceURI)
| Параметр | Тип | Описание |
|---|---|---|
| localName | String | Локальное имя элемента, к которому вы хотите переместиться. |
| namespaceURI | String | URI пространства имён элемента, к которому вы хотите переместиться. |
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.
См. также
- Class String
- Class XmlReader
- Namespace System::Xml
- Library Aspose.Font for C++
XmlReader::ReadToDescendant(String) method
Перемещает XmlReader к следующему дочернему элементу с указанным квалифицированным именем.
virtual bool System::Xml::XmlReader::ReadToDescendant(String name)
| Параметр | Тип | Описание |
|---|---|---|
| имя | String | Квалифицированное имя элемента, к которому вы хотите переместиться. |
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.
См. также
- Class String
- Class XmlReader
- Namespace System::Xml
- Library Aspose.Font for C++