OPC Studio User's Guide and Reference
AddNode Method



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.InformationModel Namespace > UAModelClient Class : AddNode Method
Model node descriptor. Identifies the node in OPC UA information model.

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

The node object to be added to the model client.

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

Adds a node object to the model client.
Syntax
'Declaration
 
Public Sub AddNode( _
   ByVal modelNodeDescriptor As UAModelNodeDescriptor, _
   ByVal node As Object _
) 
'Usage
 
Dim instance As UAModelClient
Dim modelNodeDescriptor As UAModelNodeDescriptor
Dim node As Object
 
instance.AddNode(modelNodeDescriptor, node)

Parameters

modelNodeDescriptor
Model node descriptor. Identifies the node in OPC UA information model.

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

node
The node object to be added to the model client.

The value of this parameter cannot 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