System::Xml::XPath::XPathNavigator::SelectDescendants method

XPathNavigator::SelectDescendants(String, String, bool) method

Selects all the descendant nodes of the current node with the local name and namespace URI specified.

virtual SharedPtr<XPathNodeIterator> System::Xml::XPath::XPathNavigator::SelectDescendants(String name, String namespaceURI, bool matchSelf)
ParameterTypeDescription
nameStringThe local name of the descendant nodes.
namespaceURIStringThe namespace URI of the descendant nodes.
matchSelfbooltrue to include the context node in the selection; otherwise, false.

ReturnValue

An XPathNodeIterator that contains the selected nodes.

See Also

XPathNavigator::SelectDescendants(XPathNodeType, bool) method

Selects all the descendant nodes of the current node that have a matching XPathNodeType.

virtual SharedPtr<XPathNodeIterator> System::Xml::XPath::XPathNavigator::SelectDescendants(XPathNodeType type, bool matchSelf)
ParameterTypeDescription
typeXPathNodeTypeThe XPathNodeType of the descendant nodes.
matchSelfbooltrue to include the context node in the selection; otherwise, false.

ReturnValue

An XPathNodeIterator that contains the selected nodes.

See Also