MassCompareTo(Object) Method
Compares this instance to a specified object and returns an indication of their relative values.
Namespace: Gemstone.UnitsAssembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.164 -- Release Build+6bbd7ea5ff4ad8917f12d693358b77d083ee278e
public int CompareTo(
Object value
)
Public Function CompareTo (
value As Object
) As Integer
public:
virtual int CompareTo(
Object^ value
) sealed
function CompareTo(value);
- value Object
- An object to compare, or null.
Int32
A signed number indicating the relative values of this instance and value. Returns less than zero
if this instance is less than value, zero if this instance is equal to value, or greater than zero
if this instance is greater than value.
IComparableCompareTo(Object) | ArgumentException | value is not a Double or Mass. |