OPC Studio User's Guide and Reference
GetTreeTraverser Method (Node)



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.NodeSpace Namespace > Node Class : GetTreeTraverser Method
Returns a tree traverser that iterates through the tree.
Syntax
'Declaration
 
Public Function GetTreeTraverser() As ITreeTraverser(Of Node)
'Usage
 
Dim instance As Node
Dim value As ITreeTraverser(Of Node)
 
value = instance.GetTreeTraverser()
public ITreeTraverser<Node> GetTreeTraverser()
public:
ITreeTraverser<Node^>^ GetTreeTraverser(); 

Return Value

An OpcLabs.BaseLib.Graphs.ITreeTraverser that can be used to iterate through the tree.

This method never returns null (Nothing in Visual Basic).

Remarks

This method or property does not throw any exceptions, aside from execution exceptions such as System.Threading.ThreadAbortException or System.OutOfMemoryException.

Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows

See Also