System::Xml::XPath::XPathNavigator::MoveToFollowing 方法

XPathNavigator::MoveToFollowing(String, String) method

XPathNavigator 移动到文档顺序中具有指定本地名称和命名空间 URI 的元素。

virtual bool System::Xml::XPath::XPathNavigator::MoveToFollowing(String localName, String namespaceURI)
参数类型描述
localNameString元素的本地名称。
namespaceURIString元素的命名空间 URI。

ReturnValue

true if the XPathNavigator moved successfully; otherwise, false.

另见

XPathNavigator::MoveToFollowing(String, String, SharedPtr<XPathNavigator>) method

XPathNavigator 移动到文档顺序中具有指定本地名称和命名空间 URI 的元素,并移动到指定的边界。

virtual bool System::Xml::XPath::XPathNavigator::MoveToFollowing(String localName, String namespaceURI, SharedPtr<XPathNavigator> end)
参数类型描述
localNameString元素的本地名称。
namespaceURIString元素的命名空间 URI。
endSharedPtr<XPathNavigator>位于元素边界上的 XPathNavigator 对象,在搜索后续元素时,当前的 XPathNavigator 不会越过该边界。

ReturnValue

true if the XPathNavigator moved successfully; otherwise, false.

另见

XPathNavigator::MoveToFollowing(XPathNodeType) method

XPathNavigator 移动到文档顺序中指定的 XPathNodeType 的后续元素。

virtual bool System::Xml::XPath::XPathNavigator::MoveToFollowing(XPathNodeType type)
参数类型描述
typeXPathNodeType该元素的 XPathNodeType。该 XPathNodeType 不能是 XPathNodeType::AttributeXPathNodeType::Namespace

ReturnValue

true if the XPathNavigator moved successfully; otherwise, false.

另见

XPathNavigator::MoveToFollowing(XPathNodeType, SharedPtr<XPathNavigator>) method

XPathNavigator 移动到文档顺序中指定的 XPathNodeType 的后续元素,并移动到指定的边界。

virtual bool System::Xml::XPath::XPathNavigator::MoveToFollowing(XPathNodeType type, SharedPtr<XPathNavigator> end)
参数类型描述
typeXPathNodeType该元素的 XPathNodeType。该 XPathNodeType 不能是 XPathNodeType::AttributeXPathNodeType::Namespace
endSharedPtr<XPathNavigator>位于元素边界上的 XPathNavigator 对象,在搜索后续元素时,当前的 XPathNavigator 不会越过该边界。

ReturnValue

true if the XPathNavigator moved successfully; otherwise, false.

另见