System::Xml::XmlReader::ReadToNextSibling メソッド

XmlReader::ReadToNextSibling(String, String) method

指定されたローカル名と名前空間 URI を持つ次の兄弟要素へ XmlReader を進めます。

virtual bool System::Xml::XmlReader::ReadToNextSibling(String localName, String namespaceURI)
パラメーター説明
localNameString移動したい兄弟要素のローカル名です。
namespaceURIString移動したい兄弟要素の名前空間 URI です。

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

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.

参照