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



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.DataTypeSchema Namespace > UAStructureDefinition Class : Add Method
The structure field to be added.

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

Adds a structure field to the end of the Fields.
Syntax
'Declaration
 
Public Sub Add( _
   ByVal structureField As UAStructureField _
) 
'Usage
 
Dim instance As UAStructureDefinition
Dim structureField As UAStructureField
 
instance.Add(structureField)
public void Add( 
   UAStructureField structureField
)
public:
void Add( 
   UAStructureField^ structureField
) 

Parameters

structureField
The structure 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