Version

CompareTo(ExcelCalcValue,ExcelCalcValue) Method

Compares x and y ExcelCalcValue instances and returns -1 if x is less than y, 1 if x is greater than y and 0 if x and y are equal.
Syntax
'Declaration
 
Public Overloads Shared Function CompareTo( _
   ByVal x As ExcelCalcValue, _
   ByVal y As ExcelCalcValue _
) As Integer
public static int CompareTo( 
   ExcelCalcValue x,
   ExcelCalcValue y
)

Parameters

x
The first value to compare.
y
The value to compare with the first value.

Return Value

-1, 1 or 0 depending on whether the current instance is less than, greater than or equal to the passed in instance respectively.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, 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