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



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.InformationModel Namespace > UAModel Class : GetNodeType(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).

Determines the type of the specified node, as given by the OPC-UA information model.
Syntax
'Declaration
 
<NotNullAttribute()>
Public Function GetNodeType( _
   ByVal modelNodeDescriptor As UAModelNodeDescriptor _
) As Type
'Usage
 
Dim instance As UAModel
Dim modelNodeDescriptor As UAModelNodeDescriptor
Dim value As Type
 
value = instance.GetNodeType(modelNodeDescriptor)
[NotNull()]
public Type GetNodeType( 
   UAModelNodeDescriptor modelNodeDescriptor
)
[NotNull()]
public:
Type^ GetNodeType( 
   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 type of the specified node.

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