System::Xml::XmlReader::ReadToDescendant metodu

XmlReader::ReadToDescendant(String, String) method

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

virtual bool System::Xml::XmlReader::ReadToDescendant(String localName, String namespaceURI)
ParametreTürAçıklama
localNameDizeGitmek istediğiniz öğenin yerel adı.
namespaceURIDizeGitmek 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

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

virtual bool System::Xml::XmlReader::ReadToDescendant(String name)
ParametreTürAçıklama
adDizeGitmek 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