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



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

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

Adds an enum field to the end of the Fields.
Syntax
'Declaration
 
Public Sub Add( _
   ByVal enumField As UAEnumField _
) 
'Usage
 
Dim instance As UAEnumDefinition
Dim enumField As UAEnumField
 
instance.Add(enumField)
public void Add( 
   UAEnumField enumField
)
public:
void Add( 
   UAEnumField^ enumField
) 

Parameters

enumField
The enum 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