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



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.PubSub.Configuration Namespace > UADataSetMetaData Class > UADataSetMetaData Constructor : UADataSetMetaData Constructor(String,UAFieldMetaDataCollection)
The name 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).

Initializes a new instance of the class, specifying the name, and fields.
Syntax
'Declaration
 
Public Function New( _
   ByVal name As String, _
   ByVal fields As UAFieldMetaDataCollection _
)
'Usage
 
Dim name As String
Dim fields As UAFieldMetaDataCollection
 
Dim instance As New UADataSetMetaData(name, fields)
public UADataSetMetaData( 
   string name,
   UAFieldMetaDataCollection fields
)
public:
UADataSetMetaData( 
   String^ name,
   UAFieldMetaDataCollection^ fields
)

Parameters

name
The name 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).

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