OPC Studio User's Guide and Reference
Remove(String) Method



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.DataTypeModel Namespace > EnumerationDataType Class > Remove Method : Remove(String) Method
The name of the enumeration member to be removed.

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

Removes an enumeration member, using its member name.
Syntax
'Declaration
 
Public Overloads Sub Remove( _
   ByVal memberName As String _
) 
'Usage
 
Dim instance As EnumerationDataType
Dim memberName As String
 
instance.Remove(memberName)
public void Remove( 
   string memberName
)
public:
void Remove( 
   String^ memberName
) 

Parameters

memberName
The name of the enumeration member to be removed.

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