QuickOPC User's Guide and Reference
GetDataTypeIdsFromDataTypeEncodingIds Method (_UADataTypeModelProvider)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.DataTypeModel.ComTypes Namespace > _UADataTypeModelProvider Interface : GetDataTypeIdsFromDataTypeEncodingIds Method
A list of data type encoding IDs.
Gets data type IDs from given data type encoding IDs.
Syntax
'Declaration
 
<ElementsNotNullAttribute()>
<NotNullAttribute()>
Function GetDataTypeIdsFromDataTypeEncodingIds( _
   ByVal dataTypeEncodingIdList As Object _
) As Object()
'Usage
 
Dim instance As _UADataTypeModelProvider
Dim dataTypeEncodingIdList As Object
Dim value() As Object
 
value = instance.GetDataTypeIdsFromDataTypeEncodingIds(dataTypeEncodingIdList)
[ElementsNotNull()]
[NotNull()]
object[] GetDataTypeIdsFromDataTypeEncodingIds( 
   object dataTypeEncodingIdList
)
[ElementsNotNull()]
[NotNull()]
array<Object^>^ GetDataTypeIdsFromDataTypeEncodingIds( 
   Object^ dataTypeEncodingIdList
) 

Parameters

dataTypeEncodingIdList
A list of data type encoding IDs.

Return Value

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

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

The OPC UA server data type model provider implements this functionality using (cached) inverse HasEncoding references from the data type encoding ID to the data type ID.

 

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