System::Xml::XPath::XPathNavigator::IsDescendant 方法

XPathNavigator::IsDescendant method

确定指定的 XPathNavigator 是否是当前 XPathNavigator 的后代。

virtual bool System::Xml::XPath::XPathNavigator::IsDescendant(SharedPtr<XPathNavigator> nav)
参数类型描述
navSharedPtr<XPathNavigator>用于与此 XPathNavigator 进行比较的 XPathNavigator

ReturnValue

true if the specified XPathNavigator is a descendant of the current XPathNavigator; otherwise, false.

另见