共用方式為


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

'宣告
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

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

See Also

Reference

DepthFirstElementWalker Class

DepthFirstElementWalker Overload

Microsoft.VisualStudio.Modeling Namespace