OPC Studio User's Guide and Reference
DANodeTreePosition Constructor(DANodeElement,DANodeTreePosition)



OpcLabs.EasyOpcClassicCore Assembly > OpcLabs.EasyOpc.DataAccess.Graphs Namespace > DANodeTreePosition Class > DANodeTreePosition Constructor : DANodeTreePosition Constructor(DANodeElement,DANodeTreePosition)
Contains information gathered about a node in OPC server's address space.

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, with specified node element, and parent position.
Syntax
'Declaration
 
Public Function New( _
   ByVal nodeElement As DANodeElement, _
   ByVal parentPosition As DANodeTreePosition _
)
'Usage
 
Dim nodeElement As DANodeElement
Dim parentPosition As DANodeTreePosition
 
Dim instance As New DANodeTreePosition(nodeElement, parentPosition)

Parameters

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

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