DepthFirstElementWalker Constructor (IElementVisitor, IElementVisitorFilter)
Constructor that takes an ElementVisitor. This defaults to depth first traversal, pre-Order visitation of the graph with no element links.
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)
Syntax
'Declaration
Public Sub New ( _
visitor As IElementVisitor, _
filter As IElementVisitorFilter _
)
public DepthFirstElementWalker(
IElementVisitor visitor,
IElementVisitorFilter filter
)
public:
DepthFirstElementWalker(
IElementVisitor^ visitor,
IElementVisitorFilter^ filter
)
new :
visitor:IElementVisitor *
filter:IElementVisitorFilter -> DepthFirstElementWalker
public function DepthFirstElementWalker(
visitor : IElementVisitor,
filter : IElementVisitorFilter
)
Parameters
- visitor
Type: Microsoft.VisualStudio.Modeling.IElementVisitor
A visitor which defines an action to be performed on each element.
- filter
Type: Microsoft.VisualStudio.Modeling.IElementVisitorFilter
A filter which determines which elements will be visited, such as one of the constants of VisitorFilter.
Remarks
A Constructor that takes an ElementVisitor. This defaults to depth first traversal, pre-Order visitation of the graph with no element links.
.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.