System::Xml::XPath::XPathNavigator::SelectChildren 方法

XPathNavigator::SelectChildren(String, String) method

选择当前节点所有具有指定本地名称和命名空间 URI 的子节点。

virtual SharedPtr<XPathNodeIterator> System::Xml::XPath::XPathNavigator::SelectChildren(String name, String namespaceURI)
ParameterType描述
name字符串子节点的本地名称。
namespaceURI字符串子节点的命名空间 URI。

ReturnValue

一个包含所选节点的 XPathNodeIterator

另见

XPathNavigator::SelectChildren(XPathNodeType) method

选择当前节点中匹配的 XPathNodeType 的所有子节点。

virtual SharedPtr<XPathNodeIterator> System::Xml::XPath::XPathNavigator::SelectChildren(XPathNodeType type)
ParameterType描述
typeXPathNodeType子节点的 XPathNodeType

ReturnValue

一个包含所选节点的 XPathNodeIterator

另见