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



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.InformationModel Namespace > UAModelClient Class > GetNode Method : GetNode<TNode>(UAModelNodeDescriptor) Method
The type of node to be obtained.
Model node descriptor. Identifies the node in OPC UA information model.
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 TNode As Class)( _
   ByVal modelNodeDescriptor As UAModelNodeDescriptor _
) As TNode
'Usage
 
Dim instance As UAModelClient
Dim modelNodeDescriptor As UAModelNodeDescriptor
Dim value As TNode
 
value = instance.GetNode(Of TNode)(modelNodeDescriptor)
[NotNull()]
public TNode GetNode<TNode>( 
   UAModelNodeDescriptor modelNodeDescriptor
)
where TNode: class
[NotNull()]
public:
TNode^ GetNodegeneric<typename TNode>
( 
   UAModelNodeDescriptor^ modelNodeDescriptor
) 
where TNode: ref class

Parameters

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

Type Parameters

TNode
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