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
- rootElement
Type: Microsoft.VisualStudio.Modeling.ModelElement
ModelElement from which to start traversing
Return Value
Type: System.Boolean
false if the traversal was terminated prematurely, otherwise true
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.