QuickOPC User's Guide and Reference
TraverseNodeTree(IEasyUAClient,UAEndpointDescriptor) Method



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.Extensions Namespace > IEasyUAClientExtension2 Class > TraverseNodeTree Method : TraverseNodeTree(IEasyUAClient,UAEndpointDescriptor) Method
The client object that will perform the operation.
Endpoint descriptor. Identifies the OPC-UA server.
Allows to traverse through address space data nodes under the ObjectsFolder node.
Syntax
'Declaration
 
<ExtensionAttribute()>
<NotNullAttribute()>
Public Overloads Shared Function TraverseNodeTree( _
   ByVal client As IEasyUAClient, _
   ByVal endpointDescriptor As UAEndpointDescriptor _
) As IEnumerable(Of UATreePosition)
'Usage
 
Dim client As IEasyUAClient
Dim endpointDescriptor As UAEndpointDescriptor
Dim value As IEnumerable(Of UATreePosition)
 
value = IEasyUAClientExtension2.TraverseNodeTree(client, endpointDescriptor)

Parameters

client
The client object that will perform the operation.
endpointDescriptor
Endpoint descriptor. Identifies the OPC-UA server.

Return Value

Returns an enumerator of tree positions that will traverse through all nodes specified.
Remarks

Performs a breadth-first traversal.

The root position in a tree will correspond to the ObjectsFolder node. The OpcLabs.EasyOpc.UA.Graphs.UATreePosition object for the root is special one, in that from its OpcLabs.EasyOpc.UA.AddressSpace.UANodeElement properties, only its NodeId is filled in.

Requirements

Target Platforms: .NET Framework: Windows 7 with SP1, Windows Server 2012; .NET Core: Linux, Microsoft Windows

See Also

Reference

IEasyUAClientExtension2 Class
IEasyUAClientExtension2 Members
Overload List