System::Xml::XmlReader::ReadToDescendant विधि

XmlReader::ReadToDescendant(String, String) method

निर्दिष्ट स्थानीय नाम और नेमस्पेस URI वाले अगले वंशज तत्व तक XmlReader को आगे बढ़ाता है।

virtual bool System::Xml::XmlReader::ReadToDescendant(String localName, String namespaceURI)
पैरामीटरप्रकारविवरण
localNameStringउस तत्व का स्थानीय नाम जिसे आप स्थानांतरित होना चाहते हैं।
namespaceURIStringउस तत्व का नेमस्पेस URI जिसे आप स्थानांतरित होना चाहते हैं।

ReturnValue

true if a matching descendant element is found; otherwise false. If a matching child element is not found, the XmlReader is positioned on the end tag (XmlReader::get_NodeType value is XmlNodeType::EndElement) of the element. If the XmlReader is not positioned on an element when XmlReader::ReadToDescendant(String,String) was called, this method returns false and the position of the XmlReader is not changed.

संबंधित देखें

XmlReader::ReadToDescendant(String) method

निर्दिष्ट योग्य नाम वाले अगले वंशज तत्व तक XmlReader को आगे बढ़ाता है।

virtual bool System::Xml::XmlReader::ReadToDescendant(String name)
पैरामीटरप्रकारविवरण
नामStringउस तत्व का योग्य नाम जिसे आप स्थानांतरित होना चाहते हैं।

ReturnValue

true if a matching descendant element is found; otherwise false. If a matching child element is not found, the XmlReader is positioned on the end tag (XmlReader::get_NodeType value is XmlNodeType::EndElement) of the element. If the XmlReader is not positioned on an element when XmlReader::ReadToDescendant(String) was called, this method returns false and the position of the XmlReader is not changed.

संबंधित देखें