Int24CompareTo(Object) Method

Compares this instance to a specified object and returns an indication of their relative values.

Definition

Namespace: Gemstone.Numeric
Assembly: Gemstone.Numeric (in Gemstone.Numeric.dll) Version: 1.0.174 -- Release Build+c5b1b4a29589adca9a2c6916813ee5c7c2cee966
public int CompareTo(
	Object? value
)

Parameters

value  Object
An object to compare, or null.

Return Value

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.

Implements

IComparableCompareTo(Object)

Exceptions

ArgumentExceptionvalue is not an Int32 or Int24.

See Also