Version

Compare Method (RulerBase)

Compares two values on this ruler.
Syntax
'Declaration
 
Public Overridable Function Compare( _
   ByVal obj1 As Object, _
   ByVal obj2 As Object _
) As Integer
public virtual int Compare( 
   object obj1,
   object obj2
)

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.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, 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

See Also