共用方式為


ElementWalker.Traverse Method (ModelElement)

Traverse the model starting at the specified starting element.

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

Syntax

'宣告
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