Compares the current instance with another object of the same type.
Namespace:
Spire.Presentation
Assembly:
Spire.Presentation (in Spire.Presentation.dll) Version: 10.4.2.0 (10.4.2.6046)
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
An object to compare with this instance.
Return Value
Type:
Int32
A 32-bit integer that indicates the relative order of the comparands.
The return value has these meanings:
< 0 - This instance is less than obj. = 0 - This instance is equal to obj. > 0 - This instance is greater than obj.
Implements
IComparable
CompareTo(Object)
See Also