OPC Studio User's Guide and Reference
ToUAStructureFieldInfoResult Method (UAStructureField)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.DataTypeSchema Namespace > UAStructureField Class : ToUAStructureFieldInfoResult 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 structure field to a structure field info.
Syntax
'Declaration
 
<NotNullAttribute()>
Public Function ToUAStructureFieldInfoResult( _
   ByVal readOnlyDataTypeSchema As IUAReadOnlyDataTypeSchema, _
   ByVal requireBaseDataTypes As Boolean _
) As ValueResult(Of UAStructureFieldInfo)
'Usage
 
Dim instance As UAStructureField
Dim readOnlyDataTypeSchema As IUAReadOnlyDataTypeSchema
Dim requireBaseDataTypes As Boolean
Dim value As ValueResult(Of UAStructureFieldInfo)
 
value = instance.ToUAStructureFieldInfoResult(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 structure field 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