MoveToChild()

XPathNavigator::MoveToChild(String, String) method

Moves the XPathNavigator to the child node with the local name and namespace URI specified.

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

Arguments

ParameterTypeDescription
localNameStringThe local name of the child node to move to.
namespaceURIStringThe namespace URI of the child node to move to.

Return Value

true if the XPathNavigator is successful moving to the child node; otherwise, false. If false, the position of the XPathNavigator is unchanged.

XPathNavigator::MoveToChild(XPathNodeType) method

Moves the XPathNavigator to the child node of the XPathNodeType specified.

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

Arguments

ParameterTypeDescription
typeXPathNodeTypeThe XPathNodeType of the child node to move to.

Return Value

true if the XPathNavigator is successful moving to the child node; otherwise, false. If false, the position of the XPathNavigator is unchanged.

See Also