Intersoft ClientUI Documentation
Compare Method



The left comparable.
The right comparable.
Compares two IComparables returning -1 if the left is null and 1 if the right is null.
Syntax
Public Shared Function Compare( _
   ByVal left As IComparable, _
   ByVal right As IComparable _
) As Integer
Dim left As IComparable
Dim right As IComparable
Dim value As Integer
 
value = ValueHelper.Compare(left, right)
public static int Compare( 
   IComparable left,
   IComparable right
)
public:
static int Compare( 
   IComparable^ left,
   IComparable^ right
) 

Parameters

left
The left comparable.
right
The right comparable.

Return Value

A value indicating which is larger.
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

ValueHelper Class
ValueHelper Members

Send Feedback