OPC Studio User's Guide and Reference
DecodeInDataTypeDictionaryModel Method (_UADataTypeSystem)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.DataTypeModel.ComTypes Namespace > _UADataTypeSystem Interface : DecodeInDataTypeDictionaryModel Method
Identifies an OPC UA data type together with its data type dictionary.

The value of this parameter cannot be null (Nothing in Visual Basic).

An extension object body to be decoded.

The value of this parameter cannot be null (Nothing in Visual Basic).

In DataTypeDictionary model, decodes an extension object body according to given data type descriptor.
Syntax
'Declaration
 
<NotNullAttribute()>
Function DecodeInDataTypeDictionaryModel( _
   ByVal dataTypeDescriptor As Object, _
   ByVal extensionObjectBody As Object _
) As ValueResult
'Usage
 
Dim instance As _UADataTypeSystem
Dim dataTypeDescriptor As Object
Dim extensionObjectBody As Object
Dim value As ValueResult
 
value = instance.DecodeInDataTypeDictionaryModel(dataTypeDescriptor, extensionObjectBody)
[NotNull()]
ValueResult DecodeInDataTypeDictionaryModel( 
   object dataTypeDescriptor,
   object extensionObjectBody
)
[NotNull()]
ValueResult^ DecodeInDataTypeDictionaryModel( 
   Object^ dataTypeDescriptor,
   Object^ extensionObjectBody
) 

Parameters

dataTypeDescriptor
Identifies an OPC UA data type together with its data type dictionary.

The value of this parameter cannot be null (Nothing in Visual Basic).

extensionObjectBody
An extension object body to be decoded.

The value of this parameter cannot be null (Nothing in Visual Basic).

Return Value

A value result: A success with the decoded generic data, or a failure.

This method never returns null (Nothing in Visual Basic).

Remarks

The data type dictionary in the data type descriptor dataTypeDescriptor must refer to a dictionary that is known in the data type system (either intrinsically, by configuration, or added through the AddDataTypeDictionary method). The data type description in the dataTypeDescriptor must be valid and exist in the data type dictionary.

This member or type is for use from COM. It is not meant to be used from .NET or Python. Refer to the corresponding .NET member or type instead, if you are developing in .NET or Python.

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