QuickOPC User's Guide and Reference
GetNode(UAModelNodeDescriptor,Type) Method



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.InformationModel Namespace > UAModelClient Class > GetNode Method : GetNode(UAModelNodeDescriptor,Type) Method
Model node descriptor. Identifies the node in OPC UA information model.
The type of node to be obtained.
Obtains a node from the model client. The type of the node object is specified by a type parameter.
Syntax
'Declaration
 
<NotNullAttribute()>
Public Overloads Function GetNode( _
   ByVal modelNodeDescriptor As UAModelNodeDescriptor, _
   ByVal nodeType As Type _
) As Object
'Usage
 
Dim instance As UAModelClient
Dim modelNodeDescriptor As UAModelNodeDescriptor
Dim nodeType As Type
Dim value As Object
 
value = instance.GetNode(modelNodeDescriptor, nodeType)

Parameters

modelNodeDescriptor
Model node descriptor. Identifies the node in OPC UA information model.
nodeType
The type of node to be obtained.

Return Value

Returns the specified node obtained from the model client.
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