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



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.Collections Namespace > ElasticVector Class : CompareTo Method

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

Syntax
'Declaration
 
Public Function CompareTo( _
   ByVal other As Object, _
   ByVal comparer As IComparer _
) As Integer
'Usage
 
Dim instance As ElasticVector
Dim other As Object
Dim comparer As IComparer
Dim value As Integer
 
value = instance.CompareTo(other, comparer)
public int CompareTo( 
   object other,
   IComparer comparer
)
public:
int CompareTo( 
   Object^ other,
   IComparer^ comparer
) 

Parameters

other

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

comparer
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