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



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.DataTypeSchema.ComTypes Namespace > _UAStructureDefinition Interface : DefaultEncodingId Property
The Node ID of the default data type encoding for the data type.
Syntax
'Declaration
 
<NotNullAttribute()>
Property DefaultEncodingId As UANodeId
'Usage
 
Dim instance As _UAStructureDefinition
Dim value As UANodeId
 
instance.DefaultEncodingId = value
 
value = instance.DefaultEncodingId
[NotNull()]
UANodeId DefaultEncodingId {get; set;}
[NotNull()]
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