Obtains a node from the model client. The type of the node object and the type of the return value is specified using a generic type parameter.
Syntax
'Declaration
<NotNullAttribute()>
Public Overloads Function GetNode(Of As Class)( _
ByVal As UAModelNodeDescriptor _
) As
'Usage
Dim instance As UAModelClient
Dim modelNodeDescriptor As UAModelNodeDescriptor
Dim value As
value = instance.GetNode(Of TNode)(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).
Type Parameters
- TNode
- The type of node to be obtained.
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