OPC Studio User's Guide and Reference
GetDataTypeInDataTypeDictionaryModel Method (IUADataTypeSystem)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.DataTypeModel Namespace > IUADataTypeSystem Interface : GetDataTypeInDataTypeDictionaryModel Method
Identifies an OPC UA data type together with its data type dictionary.
In DataTypeDictionary model, gets the data type for the specified data type descriptor.
Syntax
'Declaration
 
<NotNullAttribute()>
Function GetDataTypeInDataTypeDictionaryModel( _
   ByVal dataTypeDescriptor As UADataTypeDescriptor _
) As ValueResult(Of DataType)
'Usage
 
Dim instance As IUADataTypeSystem
Dim dataTypeDescriptor As UADataTypeDescriptor
Dim value As ValueResult(Of DataType)
 
value = instance.GetDataTypeInDataTypeDictionaryModel(dataTypeDescriptor)
[NotNull()]
ValueResult<DataType> GetDataTypeInDataTypeDictionaryModel( 
   UADataTypeDescriptor dataTypeDescriptor
)
[NotNull()]
ValueResult<DataType^>^ GetDataTypeInDataTypeDictionaryModel( 
   UADataTypeDescriptor^ dataTypeDescriptor
) 

Parameters

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

Return Value

A value result: A success with the data type for the specified data type descriptor, or a failure.
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.

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