Partager via


ElementWalker.Traverse Method (ICollection<ModelElement>)

Traverse the model starting at the specified starting elements.

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

Syntax

'Déclaration
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

Return Value

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

.NET Framework Security

See Also

Reference

ElementWalker Class

Traverse Overload

Microsoft.VisualStudio.Modeling Namespace