Spread Windows Forms 11.0 Product Documentation
CompareTo Method (RangeReference)


GrapeCity.CalcEngine Assembly > GrapeCity.CalcEngine Namespace > RangeReference Structure : CompareTo Method
A RangeReference to compare with this RangeReference.
Compares the current RangeReference with another RangeReference.
Syntax
'Declaration
 
Public Function CompareTo( _
   ByVal other As RangeReference _
) As Integer
'Usage
 
Dim instance As RangeReference
Dim other As RangeReference
Dim value As Integer
 
value = instance.CompareTo(other)
public int CompareTo( 
   RangeReference other
)

Parameters

other
A RangeReference to compare with this RangeReference.

Return Value

A value that indicates the relative order of the RangeReference 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

Reference

RangeReference Structure
RangeReference Members