OPC Studio User's Guide and Reference
WideChar Property



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.DataTypeModel Namespace > UAOpcBinaryStandardDataTypes Class : WideChar Property
"A 16-bit UTF-16 character value."
Syntax
'Declaration
 
<NotNullAttribute()>
Public Shared ReadOnly Property WideChar As PrimitiveDataType
'Usage
 
Dim value As PrimitiveDataType
 
value = UAOpcBinaryStandardDataTypes.WideChar
[NotNull()]
public static PrimitiveDataType WideChar {get;}
[NotNull()]
public:
static property PrimitiveDataType^ WideChar {
   PrimitiveDataType^ get();
}
Remarks

More precisely, the OPC UA specification should probably say that this is a 16-bit UTF-16 code unit. Another interpretation could be that only values that represent UTF-16 characters that fit into one code unit are allowed.

In .NET, it is represented by the Char type.

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