OPC Studio User's Guide and Reference
UADataSetMetaData Constructor(String,String,UAFieldMetaDataCollection,Guid,UAConfigurationVersion)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.PubSub.Configuration Namespace > UADataSetMetaData Class > UADataSetMetaData Constructor : UADataSetMetaData Constructor(String,String,UAFieldMetaDataCollection,Guid,UAConfigurationVersion)
The name of the dataset.

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

Description of the dataset.

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

A collection of field metadata.

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

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

The dataset class Id.
The version of the dataset configuration.

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

Initializes a new instance of the class, specifying the name, fields, dataset class Id, and configuration version.
Syntax
'Declaration
 
Public Function New( _
   ByVal name As String, _
   ByVal description As String, _
   ByVal fields As UAFieldMetaDataCollection, _
   ByVal dataSetClassId As Guid, _
   ByVal configurationVersion As UAConfigurationVersion _
)
'Usage
 
Dim name As String
Dim description As String
Dim fields As UAFieldMetaDataCollection
Dim dataSetClassId As Guid
Dim configurationVersion As UAConfigurationVersion
 
Dim instance As New UADataSetMetaData(name, description, fields, dataSetClassId, configurationVersion)

Parameters

name
The name of the dataset.

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

description
Description of the dataset.

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

fields
A collection of field metadata.

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

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

dataSetClassId
The dataset class Id.
configurationVersion
The version of the dataset configuration.

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