RanorexRanorex Documentation
CompareTo Method (obj)
NamespacesRanorexDurationCompareTo(Object)
Compares the current duration with another object of the same type.
Declaration Syntax
C#Visual BasicVisual C++
public int CompareTo(
	Object obj
)
Public Function CompareTo ( _
	obj As Object _
) As Integer
public:
virtual int CompareTo(
	Object^ obj
) sealed
Parameters
obj (Object)
An object to compare with this instance.
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
This instance is less than obj.
Zero
This instance is equal to obj.
Greater than zero
This instance is greater than obj.
Exceptions
ExceptionCondition
ArgumentExceptionobj is not of type Duration.

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