Metodo System::Xml::XmlReader::ReadToNextSibling

XmlReader::ReadToNextSibling(String, String) method

Avanza il XmlReader all’elemento fratello successivo con il nome locale e l’URI dello spazio dei nomi specificati.

virtual bool System::Xml::XmlReader::ReadToNextSibling(String localName, String namespaceURI)
ParametroTipoDescrizione
localNameStringaIl nome locale dell’elemento fratello a cui desideri spostarti.
namespaceURIStringaL’URI dello spazio dei nomi dell’elemento fratello a cui si desidera spostarsi.

ReturnValue

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.

Vedi anche

XmlReader::ReadToNextSibling(String) method

Sposta in avanti il XmlReader al prossimo elemento fratello con il nome qualificato specificato.

virtual bool System::Xml::XmlReader::ReadToNextSibling(String name)
ParametroTipoDescrizione
nomeStringaIl nome qualificato dell’elemento fratello a cui si desidera spostarsi.

ReturnValue

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.

Vedi anche