Compares two values on this ruler.
'Declaration
Public Overridable Function Compare( _
ByVal As Object, _
ByVal As Object _
) As Integer
Parameters
- obj1
- The first object to compare.
- obj2
- The second object to compare.
Return Value
If obj1 is less than obj2, -1. If obj1 is greater than obj2, 1. Otherwise, 0.
Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2