System::Xml::XmlReader::ReadToNextSibling طريقة

XmlReader::ReadToNextSibling(String, String) method

يقدم XmlReader إلى العنصر الشقيق التالي بالاسم المحلي ومسار مساحة الاسم المحددين.

virtual bool System::Xml::XmlReader::ReadToNextSibling(String localName, String namespaceURI)
معاملنوعالوصف
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)
معاملنوعالوصف
nameStringالاسم المؤهل للعنصر الشقيق الذي ترغب في الانتقال إليه.

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.

انظر أيضًا