System::Xml::XmlReader::ReadToNextSibling método

XmlReader::ReadToNextSibling(String, String) method

Avanza el XmlReader al siguiente elemento hermano con el nombre local y el URI de espacio de nombres especificados.

virtual bool System::Xml::XmlReader::ReadToNextSibling(String localName, String namespaceURI)
ParámetroTipoDescripción
localNameStringEl nombre local del elemento hermano al que desea moverse.
namespaceURIStringEl URI de espacio de nombres del elemento hermano al que desea moverse.

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.

Ver también

XmlReader::ReadToNextSibling(String) method

Avanza el XmlReader al siguiente elemento hermano con el nombre calificado especificado.

virtual bool System::Xml::XmlReader::ReadToNextSibling(String name)
ParámetroTipoDescripción
nombreStringEl nombre calificado del elemento hermano al que desea moverse.

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.

Ver también