MoveToFollowing()

XPathNavigator::MoveToFollowing(String, String) method

Moves the XPathNavigator to the element with the local name and namespace URI specified in document order.

virtual bool System::Xml::XPath::XPathNavigator::MoveToFollowing(String localName, String namespaceURI)

Arguments

ParameterTypeDescription
localNameStringThe local name of the element.
namespaceURIStringThe namespace URI of the element.

Return Value

true if the XPathNavigator moved successfully; otherwise, false.

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

Moves the XPathNavigator to the element with the local name and namespace URI specified, to the boundary specified, in document order.

virtual bool System::Xml::XPath::XPathNavigator::MoveToFollowing(String localName, String namespaceURI, SharedPtr<XPathNavigator> end)

Arguments

ParameterTypeDescription
localNameStringThe local name of the element.
namespaceURIStringThe namespace URI of the element.
endSharedPtr<XPathNavigator>The XPathNavigator object positioned on the element boundary which the current XPathNavigator will not move past while searching for the following element.

Return Value

true if the XPathNavigator moved successfully; otherwise, false.

XPathNavigator::MoveToFollowing(XPathNodeType) method

Moves the XPathNavigator to the following element of the XPathNodeType specified in document order.

virtual bool System::Xml::XPath::XPathNavigator::MoveToFollowing(XPathNodeType type)

Arguments

ParameterTypeDescription
typeXPathNodeTypeThe XPathNodeType of the element. The XPathNodeType cannot be XPathNodeType::Attribute or XPathNodeType::Namespace.

Return Value

true if the XPathNavigator moved successfully; otherwise, false.

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

Moves the XPathNavigator to the following element of the XPathNodeType specified, to the boundary specified, in document order.

virtual bool System::Xml::XPath::XPathNavigator::MoveToFollowing(XPathNodeType type, SharedPtr<XPathNavigator> end)

Arguments

ParameterTypeDescription
typeXPathNodeTypeThe XPathNodeType of the element. The XPathNodeType cannot be XPathNodeType::Attribute or XPathNodeType::Namespace.
endSharedPtr<XPathNavigator>The XPathNavigator object positioned on the element boundary which the current XPathNavigator will not move past while searching for the following element.

Return Value

true if the XPathNavigator moved successfully; otherwise, false.

See Also