OPC Studio User's Guide and Reference
GetNode(UAModelNodeDescriptor) Method



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

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

Obtains a node from the model client. The type of the node object is given by the model.
Syntax
'Declaration
 
<NotNullAttribute()>
Public Overloads Function GetNode( _
   ByVal modelNodeDescriptor As UAModelNodeDescriptor _
) As Object
'Usage
 
Dim instance As UAModelClient
Dim modelNodeDescriptor As UAModelNodeDescriptor
Dim value As Object
 
value = instance.GetNode(modelNodeDescriptor)
[NotNull()]
public object GetNode( 
   UAModelNodeDescriptor modelNodeDescriptor
)
[NotNull()]
public:
Object^ GetNode( 
   UAModelNodeDescriptor^ modelNodeDescriptor
) 

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).

Return Value

Returns the specified node obtained from the model client.

This method never returns 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