OPC Studio User's Guide and Reference
UAGenericObject Constructor(GenericData,UAModelNodeDescriptor)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.ComplexData Namespace > UAGenericObject Class > UAGenericObject Constructor : UAGenericObject Constructor(GenericData,UAModelNodeDescriptor)
The generic data carried by this OPC UA generic object.

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

The data type ID of the data type of this generic object.

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

Initializes a new instance of the class, specifying the generic data, and data type ID.
Syntax
'Declaration
 
Public Function New( _
   ByVal genericData As GenericData, _
   ByVal dataTypeId As UAModelNodeDescriptor _
)
'Usage
 
Dim genericData As GenericData
Dim dataTypeId As UAModelNodeDescriptor
 
Dim instance As New UAGenericObject(genericData, dataTypeId)

Parameters

genericData
The generic data carried by this OPC UA generic object.

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

dataTypeId
The data type ID of the data type of this generic object.

The value of this parameter cannot be 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