Nevron Open Vision Documentation
Nevron.Nov.Dom Namespace / NDomPath Class / FromNodeToAncestor Method


In This Topic
    FromNodeToAncestor Method
    In This Topic
    Creates a path from the specified node to the specified ancestor
    Syntax
    'Declaration
     
    
    Public Shared Function FromNodeToAncestor( _
       ByVal fromNode As NNode, _
       ByVal toAncestor As NNode _
    ) As NDomPath
    'Usage
     
    
    Dim fromNode As NNode
    Dim toAncestor As NNode
    Dim value As NDomPath
     
    value = NDomPath.FromNodeToAncestor(fromNode, toAncestor)
    public static NDomPath FromNodeToAncestor( 
       NNode fromNode,
       NNode toAncestor
    )

    Parameters

    fromNode
    toAncestor
    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