Share via


XPathNavigator.IsDescendant Method

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Determines whether the specified XPathNavigator is a descendant of the current XPathNavigator.

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

Syntax

'Declaration
Public Overridable Function IsDescendant ( _
    nav As XPathNavigator _
) As Boolean
public virtual bool IsDescendant(
    XPathNavigator nav
)

Parameters

Return Value

Type: System.Boolean
Returns true if the specified XPathNavigator is a descendant of the current XPathNavigator; otherwise, false.

Version Information

Silverlight

Supported in: 5, 4

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.