Intersoft ClientUI Documentation
CompareTo Method



The object being compared.
Compares two unit values to determine if they are equal or not.
Syntax
Public Function CompareTo( _
   ByVal obj As Object _
) As Integer
Dim instance As UnitValue
Dim obj As Object
Dim value As Integer
 
value = instance.CompareTo(obj)
public int CompareTo( 
   object obj
)
public:
int CompareTo( 
   Object^ obj
) 

Parameters

obj
The object being compared.

Return Value

A number smaller than zero if the obj is larger than this object. A number equal to 0 if they are equal. A number greater than zero if this unit value is greater than obj.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

UnitValue Structure
UnitValue Members

Send Feedback