OPC Studio User's Guide and Reference
UnionData Constructor(UnionDataType)



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.DataTypeModel Namespace > UnionData Class > UnionData Constructor : UnionData Constructor(UnionDataType)
The associated union data type.

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

Initializes a new instance of the class with given data type.
Syntax
'Declaration
 
Public Function New( _
   ByVal dataType As UnionDataType _
)
'Usage
 
Dim dataType As UnionDataType
 
Dim instance As New UnionData(dataType)
public UnionData( 
   UnionDataType dataType
)
public:
UnionData( 
   UnionDataType^ dataType
)

Parameters

dataType
The associated union data type.

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