Share via


ElementWalker.Traverse Method (ModelElement)

Traverse the model starting at the specified starting element.

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

Syntax

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

Parameters

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