EnergyCompareTo(Energy) Method

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

Definition

Namespace: Gemstone.Units
Assembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.186 -- Release Build+f3c68cd1a13b4f341e0d0fc1ddec1eb68d3eeb61
public int CompareTo(
	Energy value
)

Parameters

value  Energy
An Energy to compare.

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

IComparableTCompareTo(T)

See Also