Spread for ASP.NET 11 Product Documentation
CompareTo Method (LinearRange)


FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > LinearRange Structure : CompareTo Method
An object to compare with this object.
Compares the current object with another object of the same type.
Syntax
'Declaration
 
Public Function CompareTo( _
   ByVal other As LinearRange _
) As Integer
'Usage
 
Dim instance As LinearRange
Dim other As LinearRange
Dim value As Integer
 
value = instance.CompareTo(other)
public int CompareTo( 
   LinearRange other
)

Parameters

other
An object to compare with this object.

Return Value

A 32-bit signed integer that indicates the relative order of the objects being compared. The return value has the following meanings: Value Meaning 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

LinearRange Structure
LinearRange Members