Nevron Open Vision Documentation
Nevron.Nov.Dom Namespace / NNode Class / IsDescendantOf Method / IsDescendantOf(NNode) Method
ancestor node to check


In This Topic
    IsDescendantOf(NNode) Method
    In This Topic
    Determines whether this node is a descendant of the specified ancestor
    Syntax
    'Declaration
     
    
    Public Overloads Function IsDescendantOf( _
       ByVal ancestor As NNode _
    ) As System.Boolean
    'Usage
     
    
    Dim instance As NNode
    Dim ancestor As NNode
    Dim value As System.Boolean
     
    value = instance.IsDescendantOf(ancestor)
    public System.bool IsDescendantOf( 
       NNode ancestor
    )

    Parameters

    ancestor
    ancestor node to check

    Return Value

    true if ancestor node is indeed an ancestor of this node, otherwise false
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)

    See Also