QuickOPC User's Guide and Reference
DefaultEncodingId Property (UAStructureDefinition)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.DataTypeSchema Namespace > UAStructureDefinition Class : DefaultEncodingId Property
The Node ID of the default data type encoding for the data type.
Syntax
'Declaration
 
Public Property DefaultEncodingId As UANodeId
'Usage
 
Dim instance As UAStructureDefinition
Dim value As UANodeId
 
instance.DefaultEncodingId = value
 
value = instance.DefaultEncodingId
public UANodeId DefaultEncodingId {get; set;}
public:
property UANodeId^ DefaultEncodingId {
   UANodeId^ get();
   void set (    UANodeId^ value);
}
Remarks

The default depends on the message encoding, Default Binary for UA Binary encoding, Default JSON for JSON encoding and Default XML for XML encoding. If the data type is only used inside nested structures and is not directly contained in an extension object, the encoding Node ID is null.

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