ElementWalker.DoTraverse Method
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 MustOverride Function DoTraverse ( _
rootElement As ModelElement _
) As Boolean
public abstract bool DoTraverse(
ModelElement rootElement
)
public:
virtual bool DoTraverse(
ModelElement^ rootElement
) abstract
abstract DoTraverse :
rootElement:ModelElement -> bool
public abstract function DoTraverse(
rootElement : ModelElement
) : boolean
Parameters
- rootElement
Type: Microsoft.VisualStudio.Modeling.ModelElement
ModelElement from which to start traversing
Return Value
Type: System.Boolean
Returns true if the traversal completed fully. Returns false if the traversal was terminated prematurely by the visitor
.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.