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



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.Collections Namespace > ElasticVector Class : Remove Method
The object to remove form the elastic vector.

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

Removes the first occurrence of a specific object from the elastic vector.
Syntax
'Declaration
 
Public Function Remove( _
   ByVal value As Object _
) As Boolean
'Usage
 
Dim instance As ElasticVector
Dim value As Object
Dim value As Boolean
 
value = instance.Remove(value)
public bool Remove( 
   object value
)
public:
bool Remove( 
   Object^ value
) 

Parameters

value
The object to remove form the elastic vector.

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

Return Value

true if value was found in and successfully removed from the elastic vector; otherwise, false.
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