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



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.AddressSpace.ComTypes Namespace > _UANodeId Interface : ToUABuiltInType Method
Converts the node Id that represents a data type (data type Id) to a built-in type it corresponds to.
Syntax
'Declaration
 
Function ToUABuiltInType() As UABuiltInType
'Usage
 
Dim instance As _UANodeId
Dim value As UABuiltInType
 
value = instance.ToUABuiltInType()
UABuiltInType ToUABuiltInType()
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.

This member or type is for use from COM. It is not meant to be used from .NET or Python. Refer to the corresponding .NET member or type instead, if you are developing in .NET or Python.

OPC UA node Id, represented by the OpcLabs.EasyOpc.UA.AddressSpace.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 Interface
_UANodeId Members
OPC UA Node IDs
Namespace indices in OPC UA Node Ids