Spread WinForms 15
GrapeCity.CalcEngine Assembly / GrapeCity.CalcEngine Namespace / CellReference Structure / CompareTo Method
A CellReference to compare with this CellReference.


In This Topic
CompareTo Method (CellReference)
In This Topic
Compares the current CellReference with another CellReference.
Syntax
'Declaration
 
Public Function CompareTo( _
   ByVal other As CellReference _
) As Integer
 
'Usage
 
Dim instance As CellReference
Dim other As CellReference
Dim value As Integer
 
value = instance.CompareTo(other)

Parameters

other
A CellReference to compare with this CellReference.

Return Value

A value that indicates the relative order of the CellReference values being compared. The return value has the following meanings: Less than zero: This object is less than the other parameter. Zero: This object is equal to other. Greater than zero: This object is greater than other.
See Also