OPC Studio User's Guide and Reference
Add Method (CompositeDataType)



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.DataTypeModel Namespace > CompositeDataType Class : Add Method
The data field to be added.

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

Adds a data field to the composite data type.
Syntax
'Declaration
 
Public Sub Add( _
   ByVal dataField As DataField _
) 
'Usage
 
Dim instance As CompositeDataType
Dim dataField As DataField
 
instance.Add(dataField)
public void Add( 
   DataField dataField
)
public:
void Add( 
   DataField^ dataField
) 

Parameters

dataField
The data field to be added.

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