RanorexRanorex Documentation
Compare Method (d1, d2)
NamespacesRanorexDurationCompare(Duration, Duration)
Compares two Duration objects and returns an indication of their relative values.
Declaration Syntax
C#Visual BasicVisual C++
public static int Compare(
	Duration d1,
	Duration d2
)
Public Shared Function Compare ( _
	d1 As Duration, _
	d2 As Duration _
) As Integer
public:
static int Compare(
	Duration^ d1, 
	Duration^ d2
)
Parameters
d1 (Duration)
The first duration.
d2 (Duration)
The second duration.
Return Value
A 32-bit signed integer that indicates the relative order of the objects being compared. The return value has these meanings:
ValueMeaning
Less than zero
d1 is less than d2.
Zero
d1 is equal to d2.
Greater than zero
d1 is greater than d2.

Assembly: Ranorex.Core (Module: Ranorex.Core) Version: 3.2.3.16825 (3.2.3.16825)