QuickOPC User's Guide and Reference
DecodeInDataTypeDefinitionModel Method (_UADataTypeSystem)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.DataTypeModel.ComTypes Namespace > _UADataTypeSystem Interface : DecodeInDataTypeDefinitionModel Method
Information about an OPC UA data type.
An object body to be decoded.
Endpoint descriptor of the OPC UA server where the data resides.
Provides access to OPC UA server tables.
Determines whether the encoding layout is fixed.
In DataTypeDefinition model, decodes an object body according to given data type info.
Syntax
'Declaration
 
<NotNullAttribute()>
Function DecodeInDataTypeDefinitionModel( _
   ByVal dataTypeInfo As Object, _
   ByVal objectBody As Object, _
   ByVal endpointDescriptor As Object, _
   ByVal serverTables As Object, _
   ByVal fixedLayout As Boolean _
) As ValueResult
'Usage
 
Dim instance As _UADataTypeSystem
Dim dataTypeInfo As Object
Dim objectBody As Object
Dim endpointDescriptor As Object
Dim serverTables As Object
Dim fixedLayout As Boolean
Dim value As ValueResult
 
value = instance.DecodeInDataTypeDefinitionModel(dataTypeInfo, objectBody, endpointDescriptor, serverTables, fixedLayout)

Parameters

dataTypeInfo
Information about an OPC UA data type.
objectBody
An object body to be decoded.
endpointDescriptor
Endpoint descriptor of the OPC UA server where the data resides.
serverTables
Provides access to OPC UA server tables.
fixedLayout
Determines whether the encoding layout is fixed.

Return Value

A value result: A success with the decoded generic data, or a failure.
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