System::Xml::XmlReader::ReadToNextSibling μέθοδος

XmlReader::ReadToNextSibling(String, String) method

Προωθεί το XmlReader στο επόμενο αδερφικό στοιχείο με το καθορισμένο τοπικό όνομα και το URI του ονοματοχώρου.

virtual bool System::Xml::XmlReader::ReadToNextSibling(String localName, String namespaceURI)
ParameterTypeΠεριγραφή
localNameStringΤο τοπικό όνομα του αδερφικού στοιχείου στο οποίο θέλετε να μετακινηθείτε.
namespaceURIStringΤο URI του ονοματοχώρου του αδερφικού στοιχείου στο οποίο θέλετε να μετακινηθείτε.

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.

Δείτε επίσης

XmlReader::ReadToNextSibling(String) method

Προωθεί το XmlReader στο επόμενο αδερφικό στοιχείο με το καθορισμένο πλήρες όνομα.

virtual bool System::Xml::XmlReader::ReadToNextSibling(String name)
ParameterTypeΠεριγραφή
όνομαStringΤο πλήρες όνομα του αδερφικού στοιχείου στο οποίο θέλετε να μετακινηθείτε.

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.

Δείτε επίσης