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



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.DataTypeModel.ComTypes Namespace > _EnumerationDataType Interface : Remove Method
The name of the enumeration member to be removed.

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

Removes an enumeration member, using its member name.
Removes an enumeration member from the data type.
Syntax
'Declaration
 
Sub Remove( _
   ByVal memberName As String _
) 
'Usage
 
Dim instance As _EnumerationDataType
Dim memberName As String
 
instance.Remove(memberName)
void Remove( 
   string memberName
)
void Remove( 
   String^ memberName
) 

Parameters

memberName
The name of the enumeration member to be removed.

The value of this parameter can 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