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)
パラメーター説明
nameString移動したい要素の修飾名です。

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.

参照