Compares the current instance with another object of the same type.
Namespace:
Spire.Xls.Core.Spreadsheet
Assembly:
Spire.XLS (in Spire.XLS.dll) Version: 15.4.0.0 (15.4.0.5046)
Syntax
public int CompareTo(
Object obj
)
Public Function CompareTo (
obj As Object
) As Integer
public:
virtual int CompareTo(
Object^ obj
) sealed
abstract CompareTo :
obj : Object -> int
override CompareTo :
obj : Object -> int
Parameters
-
obj
-
Type:
System
Object
Object to compare with this instance.
Return Value
Type:
Int32
Less than zero- This instance is less than obj.
Zero- This instance is equal to obj.
Greater than zero - This instance is greater than obj.
Implements
IComparable
CompareTo(Object)
See Also