OPC Studio User's Guide and Reference
BuiltInType Property (UADataVariable)



OpcLabs.ServerOpcUA Assembly > OpcLabs.EasyOpc.UA.NodeSpace Namespace > UADataVariable Class : BuiltInType Property
The built-in type of this variable.
Syntax
'Declaration
 
Public Property BuiltInType As UABuiltInType
'Usage
 
Dim instance As UADataVariable
Dim value As UABuiltInType
 
instance.BuiltInType = value
 
value = instance.BuiltInType
public UABuiltInType BuiltInType {get; set;}
public:
property UABuiltInType BuiltInType {
   UABuiltInType get();
   void set (    UABuiltInType value);
}

Property Value

The built-in type, represented by the OpcLabs.EasyOpc.UA.UABuiltInType enumeration.

The default value of this property is Variant (UABuiltInType.Variant).

Exceptions
ExceptionDescription

An invalid enumeration value was used.

This is a usage error, i.e. it will never occur (the exception will not be thrown) in a correctly written program. Your code should not catch this exception.

Remarks

The built-in type specifies the fundamental data type of the variable's value in the OPC UA server's address space. It is also used to determine how the data should be encoded and decoded for communication.

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