Partager via


ElementWalker.Traverse Method (ModelElement)

Traverse the model starting at the specified starting element.

Namespace:  Microsoft.VisualStudio.Modeling
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.12.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: 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