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



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.DataTypeSchema.ComTypes Namespace > _UAEnumDefinition Interface : 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
 
Sub Add( _
   ByVal enumField As Object _
) 
'Usage
 
Dim instance As _UAEnumDefinition
Dim enumField As Object
 
instance.Add(enumField)
void Add( 
   object enumField
)
void Add( 
   Object^ enumField
) 

Parameters

enumField
The enum field to be added.

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

Remarks

This member or type is for use from COM. It is not meant to be used from .NET or Python. Refer to the corresponding .NET member or type instead, if you are developing in .NET or Python.

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