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



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.AddressSpace Namespace > UANamespaceQualified Class > CompareTo Method : CompareTo(Object) Method

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

Syntax
'Declaration
 
Public Overloads Overridable Function CompareTo( _
   ByVal obj As Object _
) As Integer
'Usage
 
Dim instance As UANamespaceQualified
Dim obj As Object
Dim value As Integer
 
value = instance.CompareTo(obj)
public virtual int CompareTo( 
   object obj
)
public:
virtual int CompareTo( 
   Object^ obj
) 

Parameters

obj

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

Remarks

This method or property does not throw any exceptions, aside from execution exceptions such as System.Threading.ThreadAbortException or System.OutOfMemoryException.

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