NevronOpenVision
Nevron.Nov.Dom Namespace / NNode Class / IsDescendantOf Method / IsDescendantOf(NNode,NNode) Method
ancestor node to check
ancestor up to which to check
In This Topic
    IsDescendantOf(NNode,NNode) Method
    In This Topic
    Determines whether this node is a descendant of the specified ancestor, by checking the this node ancestor chain up to the specified check ancestor.
    Syntax
    public System.bool IsDescendantOf( 
       NNode ancestor,
       NNode checkAncestor
    )

    Parameters

    ancestor
    ancestor node to check
    checkAncestor
    ancestor up to which 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