Share via


ElementWalker.Traverse Method (ICollection<ModelElement>)

Traverse the model starting at the specified starting elements.

Namespace:  Microsoft.VisualStudio.Modeling
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.11.0.dll)

Syntax

'Declaration
Public Function Traverse ( _
    rootElements As ICollection(Of ModelElement) _
) As Boolean
public bool Traverse(
    ICollection<ModelElement> rootElements
)
public:
bool Traverse(
    ICollection<ModelElement^>^ rootElements
)
member Traverse : 
        rootElements:ICollection<ModelElement> -> bool
public function Traverse(
    rootElements : ICollection<ModelElement>
) : boolean

Parameters

  • rootElements
    Type: ICollection<ModelElement>

    ICollection of ModelElements from which to start traversing

Return Value

Type: Boolean
false if the traversal was terminated prematurely, otherwise true

.NET Framework Security

See Also

Reference

ElementWalker Class

Traverse Overload

Microsoft.VisualStudio.Modeling Namespace