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



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.DataTypeModel Namespace > IUADataTypeSystem Interface : GetDataType Method
Data type info.

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

Gets the data type for the specified data type info.
Syntax
'Declaration
 
<NotNullAttribute()>
Function GetDataType( _
   ByVal dataTypeInfo As UADataTypeInfo _
) As ValueResult(Of DataType)
'Usage
 
Dim instance As IUADataTypeSystem
Dim dataTypeInfo As UADataTypeInfo
Dim value As ValueResult(Of DataType)
 
value = instance.GetDataType(dataTypeInfo)

Parameters

dataTypeInfo
Data type info.

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

Return Value

A value result: A success with the data type for the specified data type info, or a failure.

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

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