OPC Studio User's Guide and Reference
ResolveDataTypeDescriptorsFromDataTypeEncodingIds Method (IUADataTypeDictionaryProviderExtension)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.DataTypeModel.Extensions Namespace > IUADataTypeDictionaryProviderExtension Class : ResolveDataTypeDescriptorsFromDataTypeEncodingIds Method
The OPC UA data type model provider.

This is typically obtained from the OpcLabs.EasyOpc.UA.Plugins.ComplexData.IEasyUAClientComplexData.DataTypeDictionaryProvider property of the OpcLabs.EasyOpc.UA.Plugins.ComplexData.IEasyUAClientComplexData service.

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

A list of data type encoding IDs.

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

The individual elements of the parameter value cannot be null (Nothing in Visual Basic).

Resolves data type descriptors from given data type encoding IDs.
Syntax
'Declaration
 
<ExtensionAttribute()>
<NotNullAttribute()>
Public Shared Function ResolveDataTypeDescriptorsFromDataTypeEncodingIds( _
   ByVal dataTypeDictionaryProvider As IUADataTypeDictionaryProvider, _
   ByVal dataTypeEncodingIdList As IReadOnlyList(Of UAModelNodeDescriptor) _
) As ValueResult(Of UADataTypeDescriptor)()
'Usage
 
Dim dataTypeDictionaryProvider As IUADataTypeDictionaryProvider
Dim dataTypeEncodingIdList As IReadOnlyList(Of UAModelNodeDescriptor)
Dim value() As ValueResult(Of UADataTypeDescriptor)
 
value = IUADataTypeDictionaryProviderExtension.ResolveDataTypeDescriptorsFromDataTypeEncodingIds(dataTypeDictionaryProvider, dataTypeEncodingIdList)

Parameters

dataTypeDictionaryProvider
The OPC UA data type model provider.

This is typically obtained from the OpcLabs.EasyOpc.UA.Plugins.ComplexData.IEasyUAClientComplexData.DataTypeDictionaryProvider property of the OpcLabs.EasyOpc.UA.Plugins.ComplexData.IEasyUAClientComplexData service.

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

dataTypeEncodingIdList
A list of data type encoding IDs.

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

The individual elements of the parameter value cannot be null (Nothing in Visual Basic).

Return Value

An array of value results with the data type descriptors obtained, for corresponding indexes of the input list.

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

The individual elements of the returned value are never null (Nothing in Visual Basic).

Remarks

You can obtain the data type model provider interface (OpcLabs.EasyOpc.UA.DataTypeModel.IUADataTypeDictionaryProvider) from the OpcLabs.EasyOpc.UA.Plugins.ComplexData.IEasyUAClientComplexData.DataTypeDictionaryProvider property of the OpcLabs.EasyOpc.UA.Plugins.ComplexData.IEasyUAClientComplexData service.

This is an extension method (info: C#, VB.NET). In languages that have support for extensions methods (such as C# and VB.NET), you can use the extension method as if it were a regular method on the object that is its first parameter. In other languages (such as with Python.NET), you will call the extension as a static method, and pass it the object on which it acts as its first parameter.

 

This is a multiple-operation method. In a properly written program, it does not throw any exceptions. You should therefore not put try/catch statements or similar constructs around calls to this method. The only exceptions thrown by this method are for usage errors, i.e. when your code violates the usage contract of the method, such as passing in invalid arguments or calling the method when the state of the object does not allow it. Any operation-related errors (i.e. errors that depend on external conditions that your code cannot reliably check) are indicated in the result objects returned by the method. For more information, see Multiple-operation Methods and Do not catch any exceptions with asynchronous or multiple-operation methods.
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