Click or drag to resize
Ranorex

DurationCompare Method

Compares two Duration objects and returns an indication of their relative values.

Namespace:  Ranorex
Assembly:  Ranorex.Core (in Ranorex.Core.dll) Version: 12.7.4-git.38314c06
Syntax
public static int Compare(
	Duration d1,
	Duration d2
)

Parameters

d1
Type: RanorexDuration
The first duration.
d2
Type: RanorexDuration
The second duration.

Return Value

Type: Int32
A 32-bit signed integer that indicates the relative order of the objects being compared. The return value has these meanings:
ValueMeaning
Less than zerod1 is less than d2.
Zerod1 is equal to d2.
Greater than zerod1 is greater than d2.
See Also