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
- parent
Type: Microsoft.VisualStudio.Data.Schema.Project.Common.UI.TreeGridSupport.DBObjectsBranch
The parent branch
- parentRow
Type: System.Int32
The row in the parent branch of this branch
- visitor
Type: Microsoft.VisualStudio.Data.Schema.Project.Common.UI.TreeGridSupport.DBObjectsBranch.DBObjectInfoVisitor
The delegate to call on each item in the tree
Return Value
Type: System.Boolean
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.VisualStudio.Data.Schema.Project.Common.UI.TreeGridSupport Namespace