OPC Studio User's Guide and Reference
ToUADataTypeInfoResult Method (UAEnumDescription)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.DataTypeSchema Namespace > UAEnumDescription Class : ToUADataTypeInfoResult Method
The data type schema to be used for the conversion.

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

Determines whether base data types are required in the returned info.
Converts the data type description to a data type info.
Syntax
'Declaration
 
<NotNullAttribute()>
Public Overrides Function ToUADataTypeInfoResult( _
   ByVal readOnlyDataTypeSchema As IUAReadOnlyDataTypeSchema, _
   ByVal requireBaseDataTypes As Boolean _
) As ValueResult(Of UADataTypeInfo)
'Usage
 
Dim instance As UAEnumDescription
Dim readOnlyDataTypeSchema As IUAReadOnlyDataTypeSchema
Dim requireBaseDataTypes As Boolean
Dim value As ValueResult(Of UADataTypeInfo)
 
value = instance.ToUADataTypeInfoResult(readOnlyDataTypeSchema, requireBaseDataTypes)

Parameters

readOnlyDataTypeSchema
The data type schema to be used for the conversion.

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

requireBaseDataTypes
Determines whether base data types are required in the returned info.

Return Value

Returns a value result object with the data type info, or with an error.

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