EnergyCompareTo(Energy) Method
Compares this instance to a specified
Energy and returns an indication of their
relative values.
Namespace: Gemstone.UnitsAssembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.158 -- Release Build+8af53c44e6ad1fac543a652d58b46c9843b74b64
public int CompareTo(
Energy value
)
Public Function CompareTo (
value As Energy
) As Integer
public:
virtual int CompareTo(
Energy value
) sealed
function CompareTo(value);
- value Energy
- An Energy to compare.
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.
IComparableTCompareTo(T)