System::Xml::XmlReader::ReadToDescendant yöntemi

XmlReader::ReadToDescendant(String, String) method

Belirtilen yerel ad ve ad alanı URI’sine sahip bir sonraki alt öğeye XmlReader ilerletir.

virtual bool System::Xml::XmlReader::ReadToDescendant(String localName, String namespaceURI)
ParameterTypeAçıklama
localNameStringGitmek istediğiniz öğenin yerel adı.
namespaceURIStringGitmek istediğiniz öğenin ad alanı URI’si.

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.

Ayrıca Bakınız

XmlReader::ReadToDescendant(String) method

Belirtilen nitelikli ada sahip bir sonraki alt öğeye XmlReader ilerletir.

virtual bool System::Xml::XmlReader::ReadToDescendant(String name)
ParameterTypeAçıklama
adStringGitmek istediğiniz öğenin nitelikli adı.

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.

Ayrıca Bakınız