|
EnergyCompareTo(Energy) Method
|
Compares this instance to a specified
Energy and returns an indication of their
relative values.
Namespace: GSF.UnitsAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.260-beta+0b829228edbb9eb70c95990c4ac87443757fef2d
Syntaxpublic int CompareTo(
Energy value
)
Public Function CompareTo (
value As Energy
) As Integer
public:
virtual int CompareTo(
Energy value
) sealed
abstract CompareTo :
value : Energy -> int
override CompareTo :
value : Energy -> int function CompareTo(value);
View SourceParameters
- 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