Nevron .NET Vision
Nevron.Diagram.DataStructures Namespace / NTree Class / PreOrderTraversal Method
visitor to use
vertex from which to start the traversal


In This Topic
    PreOrderTraversal Method
    In This Topic
    Performs a pre order (depth first) traversal visiting of the parts in the tree, starting from the specified vertex
    Syntax
    'Declaration
     
    
    Public Overridable Sub PreOrderTraversal( _
       ByVal visitor As NGraphPartVisitor, _
       ByVal startVertex As NTreeVertex _
    ) 
    'Usage
     
    
    Dim instance As NTree
    Dim visitor As NGraphPartVisitor
    Dim startVertex As NTreeVertex
     
    instance.PreOrderTraversal(visitor, startVertex)
    public virtual void PreOrderTraversal( 
       NGraphPartVisitor visitor,
       NTreeVertex startVertex
    )

    Parameters

    visitor
    visitor to use
    startVertex
    vertex from which to start the traversal
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also