OPC Studio User's Guide and Reference
UANodeTreePosition Constructor(IUANodeElement,UANodeTreePosition)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.Graphs Namespace > UANodeTreePosition Class > UANodeTreePosition Constructor : UANodeTreePosition Constructor(IUANodeElement,UANodeTreePosition)
Contains information gathered about a node in OPC server's address space.

This is typically the OpcLabs.EasyOpc.UA.AddressSpace.UANodeElement object.

The value of this parameter cannot be null (Nothing in Visual Basic).

The parent object in the tree.

The value of this parameter can be null (Nothing in Visual Basic).

Initializes a new instance of the class, specifying the node element, and parent position.
Syntax
'Declaration
 
Public Function New( _
   ByVal nodeElement As IUANodeElement, _
   ByVal parentPosition As UANodeTreePosition _
)
'Usage
 
Dim nodeElement As IUANodeElement
Dim parentPosition As UANodeTreePosition
 
Dim instance As New UANodeTreePosition(nodeElement, parentPosition)

Parameters

nodeElement
Contains information gathered about a node in OPC server's address space.

This is typically the OpcLabs.EasyOpc.UA.AddressSpace.UANodeElement object.

The value of this parameter cannot be null (Nothing in Visual Basic).

parentPosition
The parent object in the tree.

The value of this parameter can be null (Nothing in Visual Basic).

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