Compares the current instance with another object of the same type.
Declaration Syntax
C# | Visual Basic | Visual C++ | F# |
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 (Object)
- An object to compare with this instance.
Return Value
Int32
Returns 0 if two objects equal, -1 if this instance is less or 1 this instance is greater.
Returns 0 if two objects equal, -1 if this instance is less or 1 this instance is greater.
Assembly: LumiSoft.Net (Module: LumiSoft.Net.dll) Version: 4.5.5510.19119