OPC Studio User's Guide and Reference
UADataSetData Constructor(UAPublisherId,Int32,Int32,UAStringDataSetFieldDataDictionary,UAGuidDataSetFieldDataDictionary)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.PubSub Namespace > UADataSetData Class > UADataSetData Constructor : UADataSetData Constructor(UAPublisherId,Int32,Int32,UAStringDataSetFieldDataDictionary,UAGuidDataSetFieldDataDictionary)
The publisher Id.

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

The writer group Id.

Valid values of this parameter are in the range from 0 to 65535.

The dataset writer Id.

Valid values of this parameter are in the range from 0 to 65535.

The field data dictionary.

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

The individual elements of the parameter value can be null (Nothing in Visual Basic).

The field data dictionary, keyed by dataset field Id.

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

The individual elements of the parameter value can be null (Nothing in Visual Basic).

Initializes a new instance of the class, specifying the publisher Id, writer group Id, dataset writer Id, field data dictionary, and field data dictionary keyed by dataset field Id.
Syntax
'Usage
 
Dim publisherId As UAPublisherId
Dim writerGroupId As Integer
Dim dataSetWriterId As Integer
Dim fieldDataDictionary As UAStringDataSetFieldDataDictionary
Dim fieldDataDictionaryById As UAGuidDataSetFieldDataDictionary
 
Dim instance As New UADataSetData(publisherId, writerGroupId, dataSetWriterId, fieldDataDictionary, fieldDataDictionaryById)

Parameters

publisherId
The publisher Id.

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

writerGroupId
The writer group Id.

Valid values of this parameter are in the range from 0 to 65535.

dataSetWriterId
The dataset writer Id.

Valid values of this parameter are in the range from 0 to 65535.

fieldDataDictionary
The field data dictionary.

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

The individual elements of the parameter value can be null (Nothing in Visual Basic).

fieldDataDictionaryById
The field data dictionary, keyed by dataset field Id.

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

The individual elements of the parameter value 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