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



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.DataTypeModel Namespace > EnumerationDataType Class : Add Method
The enumeration member to be added.

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

Adds an enumeration members to the data type.
Syntax
'Declaration
 
Public Sub Add( _
   ByVal enumerationMember As EnumerationMember _
) 
'Usage
 
Dim instance As EnumerationDataType
Dim enumerationMember As EnumerationMember
 
instance.Add(enumerationMember)

Parameters

enumerationMember
The enumeration member 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