XPathNavigator::SelectAncestors Method

 

Selects all the ancestor nodes of the current node that match the selection criteria.

Namespace:   System.Xml.XPath
Assembly:  System.Xml (in System.Xml.dll)

NameDescription
System_CAPS_pubmethodSelectAncestors(String^, String^, Boolean)

Selects all the ancestor nodes of the current node that have the specified local name and namespace URI.

System_CAPS_pubmethodSelectAncestors(XPathNodeType, Boolean)

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

Return to top
Show: