Nevron Open Vision Documentation
Nevron.Nov.Dom Namespace / NNode Class / GetSubtreeIterator Method / GetSubtreeIterator(ENTreeTraversalOrder,INFilter<NNode>) Method
order in which to visit the subtree
filter applied to the visited nodes


In This Topic
    GetSubtreeIterator(ENTreeTraversalOrder,INFilter<NNode>) Method
    In This Topic
    Gets an iterator, which iterates through the node and its descendants, in the specified traversal order. Skips the nodes which do not satisfy the specified filter. Children are enumerated in forward order (from first to last).
    Syntax
    'Declaration
     
    
    Public Overloads Function GetSubtreeIterator( _
       ByVal treeTraversalOrder As ENTreeTraversalOrder, _
       ByVal filter As INFilter(Of NNode) _
    ) As INIterator(Of NNode)
    'Usage
     
    
    Dim instance As NNode
    Dim treeTraversalOrder As ENTreeTraversalOrder
    Dim filter As INFilter(Of NNode)
    Dim value As INIterator(Of NNode)
     
    value = instance.GetSubtreeIterator(treeTraversalOrder, filter)

    Parameters

    treeTraversalOrder
    order in which to visit the subtree
    filter
    filter applied to the visited nodes
    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