OPC Studio User's Guide and Reference
ToUABuiltInType Method (UANodeId)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.AddressSpace Namespace > UANodeId Class : ToUABuiltInType Method
Converts the node Id that represents a data type (data type Id) to a built-in type it corresponds to.
Syntax
'Declaration
 
Public Function ToUABuiltInType() As UABuiltInType
'Usage
 
Dim instance As UANodeId
Dim value As UABuiltInType
 
value = instance.ToUABuiltInType()
public UABuiltInType ToUABuiltInType()
public:
UABuiltInType ToUABuiltInType(); 

Return Value

Returns OpcLabs.EasyOpc.UA.UABuiltInType.Null when this node Id is a null node Id (see IsNull). Otherwise, it returns a OpcLabs.EasyOpc.UA.UABuiltInType to which the node Id, treated as a data type Id, corresponds. If the data type Id does not correspond to any built-in type, the method returns OpcLabs.EasyOpc.UA.UABuiltInType.ExtensionObject.
Remarks

This method or property does not throw any exceptions, aside from execution exceptions such as System.Threading.ThreadAbortException or System.OutOfMemoryException.

OPC UA node Id, represented by the UANodeId class, directly identifies a node in a server's address space.

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

Reference

UANodeId Class
UANodeId Members
OPC UA Node IDs
Namespace indices in OPC UA Node Ids