ElementWalker.Traverse Method (ICollection<ModelElement>)
Traverse the model starting at the specified starting elements.
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)
Syntax
'宣告
Public Function Traverse ( _
rootElements As ICollection(Of ModelElement) _
) As Boolean
public bool Traverse(
ICollection<ModelElement> rootElements
)
public:
bool Traverse(
ICollection<ModelElement^>^ rootElements
)
member Traverse :
rootElements:ICollection<ModelElement> -> bool
public function Traverse(
rootElements : ICollection<ModelElement>
) : boolean
Parameters
- rootElements
Type: System.Collections.Generic.ICollection<ModelElement>
ICollection of ModelElements 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.