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

XmlReader::ReadToNextSibling(String, String) method

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

virtual bool System::Xml::XmlReader::ReadToNextSibling(String localName, String namespaceURI)
ParameterTypeالوصف
localNameStringالاسم المحلي للعنصر الشقيق الذي ترغب في الانتقال إليه.
namespaceURIStringURI مساحة الاسم للعنصر الشقيق الذي ترغب في الانتقال إليه.

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.

انظر أيضًا