Share via


ElementWalker.Traverse Method

Definition

Overloads

Traverse(ModelElement)

Traverse the model starting at the specified starting element.

Traverse(ICollection<ModelElement>)

Traverse the model starting at the specified starting elements.

Traverse(ModelElement)

Traverse the model starting at the specified starting element.

public:
 bool Traverse(Microsoft::VisualStudio::Modeling::ModelElement ^ rootElement);
public bool Traverse (Microsoft.VisualStudio.Modeling.ModelElement rootElement);
member this.Traverse : Microsoft.VisualStudio.Modeling.ModelElement -> bool
Public Function Traverse (rootElement As ModelElement) As Boolean

Parameters

rootElement
ModelElement

ModelElement from which to start traversing

Returns

false if the traversal was terminated prematurely, otherwise true

Applies to

Traverse(ICollection<ModelElement>)

Traverse the model starting at the specified starting elements.

public:
 bool Traverse(System::Collections::Generic::ICollection<Microsoft::VisualStudio::Modeling::ModelElement ^> ^ rootElements);
public bool Traverse (System.Collections.Generic.ICollection<Microsoft.VisualStudio.Modeling.ModelElement> rootElements);
member this.Traverse : System.Collections.Generic.ICollection<Microsoft.VisualStudio.Modeling.ModelElement> -> bool
Public Function Traverse (rootElements As ICollection(Of ModelElement)) As Boolean

Parameters

rootElements
ICollection<ModelElement>

ICollection of ModelElements from which to start traversing

Returns

false if the traversal was terminated prematurely, otherwise true

Applies to