Compares this instance to a specified object and returns an integer that indicates their relationship to each other.
Namespace:
NationalInstruments.VeriStand.Data
Assembly:
NationalInstruments.VeriStand.DataTypes (in NationalInstruments.VeriStand.DataTypes.dll) Version: 2013.0.0.0 (2013.0.0.0)
Return Value
An integer that represents the relationship of this instance and
other.
| Condition | Return Value |
|---|
|
Less than zero
|
This instance is less than other, or this instance is not a number (NaN) and other is a number.
|
|
Zero
|
This instance and other are equal, or both this instance and other are NaN, positive infinity, or negative infinity.
|
|
Greater than zero
|
This instance is greater than other, or this instance is a number and other is NaN.
|
Implements
IComparable(T).CompareTo(T)