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.
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.
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