DBObjectsBranch.DoVisitAllDepthFirst Method

Traverses the tree in a depth-first order, calling the given visitor delegate for each item in the tree.

Namespace:  Microsoft.VisualStudio.Data.Schema.Project.Common.UI.TreeGridSupport
Assembly:  Microsoft.VisualStudio.Data.Schema.Project (in Microsoft.VisualStudio.Data.Schema.Project.dll)

Syntax

'Declaration
Protected Function DoVisitAllDepthFirst ( _
    parent As DBObjectsBranch, _
    parentRow As Integer, _
    visitor As DBObjectsBranch..::..DBObjectInfoVisitor _
) As Boolean
'Usage
Dim parent As DBObjectsBranch
Dim parentRow As Integer
Dim visitor As DBObjectsBranch..::..DBObjectInfoVisitor
Dim returnValue As Boolean

returnValue = Me.DoVisitAllDepthFirst(parent, _
    parentRow, visitor)
protected bool DoVisitAllDepthFirst(
    DBObjectsBranch parent,
    int parentRow,
    DBObjectsBranch..::..DBObjectInfoVisitor visitor
)
protected:
bool DoVisitAllDepthFirst(
    DBObjectsBranch^ parent, 
    int parentRow, 
    DBObjectsBranch..::..DBObjectInfoVisitor^ visitor
)
protected function DoVisitAllDepthFirst(
    parent : DBObjectsBranch, 
    parentRow : int, 
    visitor : DBObjectsBranch..::..DBObjectInfoVisitor
) : boolean
member DoVisitAllDepthFirst : 
        parent:DBObjectsBranch * 
        parentRow:int * 
        visitor:DBObjectsBranch..::..DBObjectInfoVisitor -> bool 

Parameters

  • parentRow
    Type: System.Int32
    The row in the parent branch of this branch

Return Value

Type: System.Boolean

.NET Framework Security

See Also

Reference

DBObjectsBranch Class

DBObjectsBranch Members

Microsoft.VisualStudio.Data.Schema.Project.Common.UI.TreeGridSupport Namespace