Selects all the ancestor nodes of the current node that have the specified local name and namespace URI.
An System.Xml.XPath.XPathNodeIterator that contains the selected nodes. The returned nodes are in reverse document order.
If string.Empty is specified as the name parameter, all ancestor nodes that belong to the specified namespace URI are selected. If string.Empty is specified as the namespaceURI parameter, all ancestor nodes with the specified local name that belong to no namespace are selected. If string.Empty is specified as both the local name and namespace URI, all ancestor nodes that belong to no namespace are selected.
The XPathNavigator.SelectAncestors(string, string, bool) method has no effect on the state of the System.Xml.XPath.XPathNavigator.