DepthFirstElementWalker 建構函式

定義

多載

DepthFirstElementWalker(IElementVisitor, IElementVisitorFilter)

採用 ElementVisitor 的函式。Constructor that takes an ElementVisitor. 這會預設為沒有專案連結之圖形的第一次遍歷、前置順序 visitation。This defaults to depth first traversal, pre-Order visitation of the graph with no element links.

DepthFirstElementWalker(IElementVisitor, IElementVisitorFilter, Boolean)

採用 ElementVisitor 的函式。Constructor that takes an ElementVisitor.

DepthFirstElementWalker(IElementVisitor, IElementVisitorFilter)

採用 ElementVisitor 的函式。Constructor that takes an ElementVisitor. 這會預設為沒有專案連結之圖形的第一次遍歷、前置順序 visitation。This defaults to depth first traversal, pre-Order visitation of the graph with no element links.

public:
 DepthFirstElementWalker(Microsoft::VisualStudio::Modeling::IElementVisitor ^ visitor, Microsoft::VisualStudio::Modeling::IElementVisitorFilter ^ filter);
public DepthFirstElementWalker (Microsoft.VisualStudio.Modeling.IElementVisitor visitor, Microsoft.VisualStudio.Modeling.IElementVisitorFilter filter);
new Microsoft.VisualStudio.Modeling.DepthFirstElementWalker : Microsoft.VisualStudio.Modeling.IElementVisitor * Microsoft.VisualStudio.Modeling.IElementVisitorFilter -> Microsoft.VisualStudio.Modeling.DepthFirstElementWalker
Public Sub New (visitor As IElementVisitor, filter As IElementVisitorFilter)

參數

visitor
IElementVisitor

進行往返時要使用的 IElementVisitorIElementVisitor to use when traversing

filter
IElementVisitorFilter

進行往返時要使用的 IElementVisitorFilterIElementVisitorFilter to use when traversing

適用於

DepthFirstElementWalker(IElementVisitor, IElementVisitorFilter, Boolean)

採用 ElementVisitor 的函式。Constructor that takes an ElementVisitor.

public:
 DepthFirstElementWalker(Microsoft::VisualStudio::Modeling::IElementVisitor ^ visitor, Microsoft::VisualStudio::Modeling::IElementVisitorFilter ^ filter, bool includeLinks);
public DepthFirstElementWalker (Microsoft.VisualStudio.Modeling.IElementVisitor visitor, Microsoft.VisualStudio.Modeling.IElementVisitorFilter filter, bool includeLinks);
new Microsoft.VisualStudio.Modeling.DepthFirstElementWalker : Microsoft.VisualStudio.Modeling.IElementVisitor * Microsoft.VisualStudio.Modeling.IElementVisitorFilter * bool -> Microsoft.VisualStudio.Modeling.DepthFirstElementWalker
Public Sub New (visitor As IElementVisitor, filter As IElementVisitorFilter, includeLinks As Boolean)

參數

visitor
IElementVisitor

進行往返時要使用的 IElementVisitorIElementVisitor to use when traversing

filter
IElementVisitorFilter

進行往返時要使用的 IElementVisitorFilterIElementVisitorFilter to use when traversing

includeLinks
Boolean

要求元素連結包含在 visitation 中request element links be included in the visitation

適用於